How to Create Multiple Folders at Once in Windows 11

Creating a single folder in Windows is quite an easy task; you just right click, click on New and then click on Folder. Or even simpler, just press the keys CTRL + SHIFT + N. This works great if it is just a single folder. But what if you have to create multiple folders? Like, let’s say, what if you have to create a folder for each book of your favorite author? Or simply a folder for each month in a year? Well, then going by the one by one method definitely is going to be tiresome and time consuming. Fret not, we are here to lend a hand.

In this article, we explain in some very simple methods how you can easily create multiple folders in one go. The article covers methods using PowerShell, Command Prompt and finally, some batch scripting as well. Read on, to learn how you can easily create multiple folders at once in your Windows 11.

How to Create Multiple Folders Using Windows PowerShell

Step 1: First of all, launch File Explorer and go to the location where you are going to create multiple folders at.

Click on the location bar and hit the keys CTRL and C to copy the folder location. This location will now be available in your clipboard to paste somewhere later.

 

1 Copy Folder Location Optimized

 

Step 2: Right click on Windows Start Menu icon and click on the Windows Terminal option to launch Windows PowerShell.

 



2 Start Powershell Optimized

 

Step 3: When Windows PowerShell launches before you, type in cd, press on the space bar and then simply right click to paste the content that you copied in Step 1.

In the example below, my cd command looks like:

cd E:\GeekPageMultipleFolders\PowerShell

 

3 Cd Command Optimized

 

Step 4: Finally, to create multiple folders, type in md, then press space bar and then type in all your folder names separated by commas and enclosed in double quotes. Once you are done, hit Enter key.

md "Folder1", "Folder2", "Folder3", "Folder4"

Please refer to the screenshot below for an example where I created multiple folders in one go for various Windows versions.

 

4 Md Command Optimized

 

Step 5: That’s it. You can now navigate to the location in Step 1 to see the folders you created.

 

5 Created Optimized

 

How to Create Multiple Folders Using Windows Command Prompt

Step 1: First of all, go to the location where multiple folders are to be created.

Click on the File Explorer location bar and press the keys CTRL + C to copy the location of the folder.

 

6 Cmd Copy Location Optimized

 

Step 2: As next, press the keys Win + R to launch the Run dialog box.

Once Run window opens up, type in cmd and hit the Enter key to launch Command Prompt.

 

7 Run Cmd Optimized

 

Step 3: In the command prompt window, type in cd /d and then simply right click. Right clicking would paste the location you copied in Step 1.

In the example below, my cd command looks like:

cd /d E:\GeekPageMultipleFolders\CMD

Note: /d parameter is used after cd command as there is drive switch involved. In this case, I was at drive C: and then I moved to drive E: , so I used /d parameter with my cd command.

 



9 Change Directory Optimized

 

Step 4: In the next step, type in md and then type the names of all the folders that you want to create. The folders are to be enclosed in double quotes and are to be separated by commas. Once the command is typed in, hit the Enter key to execute it.

Example command:

md "The Alchemist", "The Zahir", "Aleph", "Eleven Minutes", "Hippie"

Note: md stands for make directory.

 

10 Md Command Optimized

 

Step 5: That’s it. If you now navigate to the folder location in Step 1, you can see that the folders are all created successfully in one go.

 

11 Folders Created Optimized

 

How to Create Multiple Folders Using a Batch Script

Step 1: Click on the Search icon in the Taskbar.

 

12 Search Icon Optimized

 

Step 2: In the search bar at the top, type in notepad. From the search results, click on notepad to launch Notepad application.

 

13 Notepad Optimized

 

Step 3: When Notepad launches, perform the steps below:

  1. Firstly type in @ECHO OFF and hit Enter key to go to the next line.
  2. As next, type in md.
  3. In the next step, you can give the folder names separated by space characters. But make sure folder names are enclosed in double quotes. You can even give sub folders. In the following example, we are creating a folder CSE which will have Semester 1 sub folder and this sub folder will have another sub folder Mechanics inside it. Likewise, structure of other folders are also given.

Example script:

@ECHO OFF
md "CSE"\"Semester 1"\"Mechanics" "CSE"\"Semester 2"\"Data Structures" "CSE"\"Semester 5"\"Algorithm Analysis" "CE"\"Semester 1"\"Dynamics"

 

14 Script Optimized

 

Step 4: Once the script is all ready, hit the File tab at the top and then click on Save As option.

 

15 Save As Optimized

 

Step 5: Once the Save As window opens up, perform the following steps:

  1. Navigate to the location where you want to create multiple folders at.
  2. Give a name of your choice to your script file. Make sure to give the extension as .bat, this part is the most important.
  3. Choose the Save as type as All files.
  4. Once you are all done, hit the Save button.

 



16 Name And Save Optimized

 

Step 6: Navigate to the location where your batch script is saved at and double click on it to execute it.

 

17 Execute Script Optimized

 

Step 7: Voila! The moment you execute the script, you can see the folders getting created in the same folder where your batch script is present at.

 

18 Folders Created Optimized

 

Step 8: If you go inside the folder, you can see that the sub folders are also created.

Well, yeah, you are also a computer geek now. Enjoy scripting!

 

19 Subfolders Created Optimized

 

Creating multiple folders should no longer be time consuming with this amazing trick in your hand.

Please tell us in the comments section if you are stuck at any of the steps. We are here to help you out.