How to create multiple folders at once in Windows 11

2 Inicie Powershell Optimized

How to create multiple folders at once in Windows 11

Creating a single folder in Windows is a fairly straightforward task; you alone the right button of the mouse, click on New and then click File. Or even simpler, just press the keys CTRL + MAYÚS + N. This works great if it’s just a folder. But what if you have to create multiple folders? Say, what if you have to create a folder for each book by your favorite author? Or just a folder for each month of the year? Well then going for the one by one method will definitely be tedious and time consuming. Don’t worry, we’re here to help out.

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

How to create multiple folders with Windows PowerShell

Paso 1: First, start File Browser Y go to location where you will create multiple folders in.

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

Paso 2: The right button of the mouse about Windows start menu icon and click the Windows Terminal option to launch Windows PowerShell.

Read This Now:   How to mirror iPhone screen to Samsung TV

Paso 3: When Windows PowerShell starts before you do, writes in CD, printing about him space bar and then just right click a paste the content you copied in Step 1.

In the following example, my cd command looks like this:

cd E:GeekPageMultipleFoldersPowerShell

3 CD command optimized

Stage 4: Finally, to create multiple folders, type Maryland, then Press the space bar and then type all folder names separated by commas and enclosed in double quotes. Once you’re done, press Get into wrench.

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

See the screenshot below for an example where I created multiple folders in one go for multiple versions of Windows.

Optimized 4 Md command

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

5 Created Optimized

How to create multiple folders with the Windows command prompt

Paso 1: First of all, go to location where multiple folders will be created.

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

Optimized 6 cmd copy location

Paso 2: As below, press the keys Win + R to open the Run dialog box.

Once the Run window opens, type cmd and hit the Get into to start the command prompt.

7 Run Optimized Cmd

Paso 3: In the command prompt window, type cd / d and then just the right button of the mouse. Right-clicking will paste the location you copied in Step 1.

In the following example, my cd command looks like this:

cd /d E:GeekPageMultipleFoldersCMD

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

Read This Now:   Programs that slow down Windows 10 startup

9 Change optimized directory

Stage 4: In the next step, type Maryland and then type the names of all the folders you want to create. Folders must be enclosed in double quotes and separated by commas.. Once the command is typed, press the Get into key to run it.

Example command:

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

Note: Maryland It represents make directory.

10 Md optimized command

Paso 5: That’s it. If you now navigate to the folder location in Step 1, you can see that all the folders were created successfully at once.

11 folders created optimized

How to create multiple folders using a batch script

Paso 1: Click on the Search on the taskbar.

12 Optimized search icon

Paso 2: At search bar at the top, write bloc. From the search results, click bloc to start the Notepad application.

13 Optimized Notepad

Paso 3: When Notepad starts, do the following:

  1. Write first @ECHO OFF and hit Get into to go to the next line.
  2. Like below, type Maryland.
  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 subfolders. In the following example, we are creating a folder CSE what will it have Semester 1 subfolder and this subfolder will have another subfolder Mechanics within that. Likewise, the structure of other folders is 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 Optimized script

Stage 4: Once the script is ready, press the Archive tab at the top and then click Save as option.

Read This Now:   How to Remove Facebook Dark Mode on PC Version? - Find out here

15 Save as optimized

Paso 5: Once the Save as The window opens, perform the following steps:

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

16 Name and save optimized

Paso 6: Navigate to the location where your batch script is saved in y double click on him to run.

17 Run optimized script

Paso 7: Voila! The moment you run the script, you can see the folders that are created in the same folder where your batch script is present.

18 Optimized Created Folders

Paso 8: If you go inside the folder, you can see that the subfolders are also created.

Well yeah, now you are also a computer fanatic. Enjoy the scripts!

19 subfolders created optimized

Creating multiple folders shouldn’t take long with this awesome trick in hand anymore.

Please let us know in the comment section if you are stuck on any of the steps. We are here to help you.


Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5420

Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/gamefeve/bitcoinminershashrate.com/wp-includes/functions.php on line 5420