Reply to Message

Reply to Message

View discussion in a popup

Replying to:
theflash1932
6 Indium

RE: Need Help Creating a Batch File

Yes, that helps. You are trying to bypass the limitation of Windows Backup to give yourself more than one image backup to refer to. You can manage multiple backup images more easily through Task Scheduler to pretty much any schedule you like using the following command:

wbadmin start backup -backupTarget:\\SYSTEMNAME\DRIVELETTER$\FOLDER -include:C: -allCritical -quiet

If you really want to use a BAT file, you can assign the folder name as the current date using the following:

SET minnie=%date:~-10,2%%date:~-7,2%%date:~-4,4%
md E:\%minnie%

That will turn the current date into a string like 05272015 and create a folder using that string (E:\05272015 in this case).

0 Kudos