By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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."