Hi
I have the following batch file:-
*********
@ECHO OFF
if NOT exist S:\Download\Clockworx\Data
centre\RUN
OK.TXT goto NotOk
c:
cd C:\Program Files\VisionTech\WebBatch
WebBatch.exe
s:
cd s:\Download\Clockworx
Start CLOCKWRX.exe
goto end
:NotOk
@echo The last run has not yet successfully completed, please try again later.
Pause
:end
***********
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.
Start Free Trial