IsdNG
asked on
DOS Batch Script
Im trying create BAT file that will backup a drive as follows
Create Directory F:\Todays Date
Copy all files from C:\ISD to F:\Todays Date
I searched for code online but nothing is straight foward. I know that i need the xcopy command and the Mkdir command, but i am having hard time creating Folder with todays date.
Once i get the above backup.bat file, i am going to put in the daily Task schdule to run.
Thank you
Create Directory F:\Todays Date
Copy all files from C:\ISD to F:\Todays Date
I searched for code online but nothing is straight foward. I know that i need the xcopy command and the Mkdir command, but i am having hard time creating Folder with todays date.
Once i get the above backup.bat file, i am going to put in the daily Task schdule to run.
Thank you
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Your Awesome, thank you very much!
Open in new window