|
Answer» have been racking my BRAIN trying to FIGURE this out.
I need to run a batch file to run an export utility from a journal file. I need to run file, and possibly last 5 days files.
syntax for command is:
/date=yyyymmdd
one PROBLEM is that sometimes the file is created before midnight, and sometimes after, so i figured if I run the command with today's date and YESTERDAYS date at the very least I'll always have the CORRECT file, as if there is no file with that date name in it, it won't overwrite.
I would also like as a backup to run the last 5 days worth of dates.
I have been looking for syntax for % variables in dos to no avail.
any help is always appreciated!!
|