dos IF command to run new bat file based on date


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]

Posted by Psycho Dan on September 29, 2007 at 11:17:32:

I am somewhat of a newbie at bat files, so I hope I can explain this clear enough.. I am trying to get another bat file to run if any file in a certain folder has been modified today. So basically , if "c:\*.doc" was modified today then run "modfile.bat" and if no "c:\*.doc" files where modified today then run "nofile.bat"

I am running windows xp if that makes any difference. Any help on this would be greatly appreciated.

Thanks,
Psycho Dan



Follow Ups:



Post a Followup (use TAB key to move between boxes - NOT ENTER or RETURN)

Name:
E-Mail:

Subject:

Type your comments in the box below and SUBMIT:


[ Follow Ups ] [ Post Followup ] [ The EasyDOS Forum ] [ FAQ ]