I would like to back up the contents of a folder "eDIGSNEW" into a folder named "eDIGS" on the "F:" drive
with current date and time to be added to the folder each day it is saved.
The attached code runs but does not add the date and time to the folder. How should this code be modified so that the current date is added to the "eDIGSNEW" folder everytime it is saved. Thanks
set backupcmd=xcopy /s /c /d /e /h /i /r /y
%backupcmd% "C:\shared$\eDIGSNEW" "%drive%\eDIGS"
echo Backup Complete!