Search found 1 match
- 18 Aug 2011 13:17
- Forum: DOS Batch Forum
- Topic: Script
- Replies: 2
- Views: 2496
Re: Script
How about this: FOR /F "TOKENS=1-4 DELIMS=/ " %%i IN ('DATE /T') DO SET DT="-"%%j"-"%%l XCOPY C:\FOLDER1\MOR.TXT C:\FOLDER2\MOR%DT%.TXT Unfortunately I do not know how to suppress the message that comes up asking if the resultant filename is a file or a directory. You m...