windows - batch file to create subfolder structure within existing folders -


i want create following folder structure @ work. have add 'archived emails' directory, sorted year, month within 50(ish) folders individual towns. folder in bold exists:

  • town

    • archived emails

      • yyyy

        • 01janyyyy

        • 02febyyyy

        • 03maryyyy

etc etc

the preceding 01,02,03 in months folder months sorted in explorer properly. me out writing batch file please? i'm not syntax.

thanks

for creating folder use

md "c:\[path-to-town]\archived emails" 

for example

here have nice resource batch scripting. can find there neat description of how make loop in batch scripts.


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

Nuget pack csproj using nuspec -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -