Created
May 4, 2019 14:24
-
-
Save jumblies/15c110f32f2a721a66836f4e2691913d to your computer and use it in GitHub Desktop.
Windows Cascading Directory Creator Batch Commands
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
:: Folder maker for spawning folders by years | |
:: generates a list of numbers (start, step, stop) and makes directories for it. | |
:: Can do a dry run first with DO echo %%G if you want to check it. | |
FOR /L %%G in (2010,1,2018) DO mkdir %%G | |
:: For Months | |
:: FOR /L %%G in (202501,1,202512) DO mkdir %%G |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment