> **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.


**Other Notes**

Please take a moment and look here ([**Accepting An Answer**](http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work)) to familiarize yourself with accepting answers on Super User and other Stack Exchange communities for that matter. If this works for your needs, accepting the answer would be appreciated for gratitude.

Further Reading and Resources
-

 - [**MD**](http://ss64.com/nt/md.html)
 - [**FOR**](http://ss64.com/nt/for.html)