I need to create a section of a batch file that will determine whether a folder 
has had files added to it or not, and then perform one of two actions.  I was 
thinking of doing a dir > filename, to get something like dirlist.txt & 
oldlist.txt and doing a file compare on the two text files, but the "fc" 
command doesn't seem to give me any output I can use within the batch file.  I 
was hoping it would give me something in "errorlevel", but it doesn't.

In the end, I'll have a batch file that runs constantly, and each loop it will 
look at a couple of folders.  If there's something in folder 1, it will perform 
action 1, and if there's something in folder 2, it will perform action 2.


Thanks in advance

Mark
~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to