Re: In DOS, Create One and Only One File Daily


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

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.


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 ]