How to check file changes in a network path

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Rudi
Posts: 1
Joined: 14 Oct 2011 02:56

How to check file changes in a network path

#1 Post by Rudi » 14 Oct 2011 03:01

Hello Everybody,

I have some protocol files (doc format) in a network path. Once per hour (schedule job that runs a bat file) i should check if there's new files or changes on existing files. In case of changes i'd like to get an e-mail with (if possible) a couple of infos which file was affected by the changes.

Can anyone help me?

Many many Thanks in advance for each help.

Rudolf

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: How to check file changes in a network path

#2 Post by Ed Dyreen » 15 Oct 2011 00:30

'
That can be achieved by using the 'dir' and 'fc' or 'compare' command and the %date% variable.

Post Reply