How to create folders in one folder with batch
Hello i want to create 25 folders with names into one folder. example:
root\sound\weapons\ak,m4,m1,m45,m9 etc.
I know how to create a folder with sub folders but not with multiple
folders.
How i can array with batch.
Command Prompt Copy and Paste
FOR %A IN (ak,m4,m1,m45,m9) DO MD "root\sound\weapons\%~A"
Batch Script
FOR %%A IN (ak,m4,m1,m45,m9) DO MD "root\sound\weapons\%%~A"
Notes: In the logic part above where you see IN (ak,m4,m1,m45,m9)
you will put the folder names in there separated by commas which you want to create. The root\sound\weapons\
could also be C:\Path\Path\
or something like that as well.
Further Reading and Resources