| by GladysG ® 08/23/2007, 09:08:36 | Reply | Forum |
Trying to create a .bat file. Almost have it correct, but need some tweaking. Basically, I want to rename the file to show today's date only. So the file would change from c:\folderA to c:\0823 (or whatever the current date is). This what I've created as a test so far:
@ECHO OFF
XCOPY c:\test1\* c:\test2\*
(HERE IS NEED TO CHANGE DIRECTORY NAME WITH FILE NAMED AS OF CURRENT DATE HERE)
Is there a way to do that? Any assistance would be appreciated. Thank you.
| Edit | Reply | | | | | Author | Forum |