Jeremy Stein - Brain
« Word floating box | Network cable unplugged » |
Batch File Backup
To use a (Windows 2000/XP) batch file to back up some other file, do something like this:
FOR /F “tokens=2-6 delims=/: ” %%A IN (“%DATE% %TIME%”) DO COPY “ImportantFile” “ImportantFile_%%C%%A%%B_%%D%%E”
If you also want to input some information to append to the filename, remember that the Set command can take a /P option.
No Comments
Be the first to comment!
« Word floating box | Network cable unplugged » |
Leave a Reply