Creating folders and sub folder in a batch file
Posted on 2008-10-24
Is there a way of creating a range of folders and within the range of folders are 3 sub-folders in a batch file?
For instance i want to create a set of folders from 100 to 150 and within each of these folders are the exact same sub-folders called Reports, Misc and Spreadsheets.
I kind of figured out how to create a single folder and with the 3 sub folder but not too create a whole range without having to input the number manually.
So so far i have a createfol.bat file with the follwoing commands:
I can run this .bat in the cmd by typing
Now this creates the folder 100 with the subfolders i want but i dont want to have to do this another 200-300 times to create the others.
Is there an easier way? any help really appreciated
Thanks for you help in advance