Posted by Valerie on March 17, 2010 at 04:03:15:
In Reply to: In DOS, Create One and Only One File Daily posted by dcampbe2010 on March 15, 2010 at 16:31:43:
Extract yymmdd from your current date into a variable then:
IF exist path\%var%*.dif echo Today's file already exists. Terminating batch script processing. && exit /b
:: More coding if today's file does not exist.
If you need further assist please post your system date format.
Good luck.