New
#1
Include date in file created by batch file.
How can I add to this batch command to include the date:
xcopy C:\all\* Z:\Allbak\* /E /Y /C
I'd like the resulting file to be named "Z:\Allbak171129" (yr mo day).
The plan is to set up a task schedule to run the batch file every week. I want to keep several previous backups just in case.