By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
I am trying to define a batch file that on a daily basis will create a folder on a backup drive based on the date. If I were to manually do this, I would go into the root directory of the secondary drive, make a directory (called something like "backup xx_xx_xxxx"), change directories into this folder, go back to the root of C, then run the backup. Is there a wild card of sorts that would insert a given date into this example?
This site offers a clear-cut, free tutorial on how to create this type of
. However, there are many ways to script out this type of request, not to mention many cheap script creation utilities. To explore other options, conduct a Web search for "batch script date folder create."