Checking for the pressence of non empty file in the format YYYYMMDD.txt
Posted on 2004-03-25
I have the following batch file:-
if NOT exist S:\Download\Clockworx\Datacentre\RUNOK.TXT goto NotOk
cd C:\Program Files\VisionTech\WebBatch
@echo The last run has not yet successfully completed, please try again later.
After the 'webbatch.exe' line, I would like to check for the pressence of a file named in the following format YYMMDDDD.txt where yyyy is the current year, mm the curent month and dd the current day(and that it's not empty) and go back to the start to try again if not present.