trudye10
Programmer
- Sep 8, 2006
- 67
I am not sure I am in the right forum but here goes. I am trying to get the syntax for adding a date to a filename in a Batch file. I know the command looks like:
for /f "tokens=1,2,3 delims=- " %%i in ('echo %DATE%') do (set BACKUP=%%k%%j%%i)
but that's gibbrish to me I a little slow, I need a syntax layout so I can tell what I'm coding in case I want to alter it.
Any help would be appreciated. IF this is the wrong forum could someone point me to the correct forum.
Thanx much,
Trudye
for /f "tokens=1,2,3 delims=- " %%i in ('echo %DATE%') do (set BACKUP=%%k%%j%%i)
but that's gibbrish to me I a little slow, I need a syntax layout so I can tell what I'm coding in case I want to alter it.
Any help would be appreciated. IF this is the wrong forum could someone point me to the correct forum.
Thanx much,
Trudye