How to create multiple folders at the same time on Windows 10
Work requirements make you have to create multiple folders at the same time on your Windows 10 PC. ا. At that time, creating folders manually such as right-clicking and selecting New Folder or using Ctrl + Shift + N is very time consuming. Instead, you can create multiple folders at once using Command Prompt, PowerShell, or a batch file.
Create multiple Windows 10 folders at once using Command Prompt
First, open the Start menu and enter the keyword 'cmd' in the search bar of Windows Search. Then, click 'Command Prompt' from the corresponding search results.
You can change the directory in the Command Prompt with the cd command, and switch to another location on Windows where you want to create multiple folders at the same time.
Now, let's assume that you want to create 7 folders at the same time, corresponding to each day of a week. In this case, you can use the following command:
md sunday monday tuesday wednesday thursday friday saturday
Of course, you can completely replace the folder names written after the md command with the actual names you want to set.
After that, you can close the Command Prompt and navigate to the destination location you selected with the cd command above, you will see a series of new folders with the corresponding names have been created.
Create multiple Windows 10 folders at once using PowerShell
Another method that allows you to create multiple folders at once is to use Windows PowerShell. We will continue to use the same folder names as listed above as an example.
To get started, open the Start menu and enter the keyword 'PowerShell' into the search bar of Windows Search. Then, right-click 'PowerShell' from the corresponding search results and select the 'Run as administrator' option.
The PowerShell window will immediately open to the same user folder by default. Assuming you want to create new folders in the "Documents" target directory, it can be done with the cd command. For example the following:
cd Documents
Bulk folder creation will require you to gather filenames first, and then run a specific command in a PowerShell window. Again assuming you want to create directories corresponding to each day of the week, we have the following command:
"sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" | %{New-Item -Name "$_" -ItemType "Directory"}
Of course, you can still replace the folder name inside the quotes with something else you want.
After running the command, close PowerShell and open Windows Explorer to find the 'Documents' folder or the selected destination location. You will see the corresponding new folders have been created.
You should read it
- 3 ways to create multiple folders at once in Windows 10/11
- Steps to create multiple folders at once on Windows 10
- Open multiple folders at once on Windows 10 with just one shortcut
- Use CMD to delete large folders on Windows
- How to change the folder in Command Prompt on Windows 10
- How to bookmark folders on Windows 10
- How to Create and Delete Files and Directories from Windows Command Prompt
- How to create invisible folders on Windows 10 desktop
- How to create files and folders easily with Powershell
- How to create Windows 10 application folders such as iPhone, Android
- Activate multiple programs and folders at the same time in Windows
- Set pass for Folder, set password to protect folder without software
Maybe you are interested
How to use the file search command on Windows, find saved files
Why is tldr command better than man command in Linux?
Should I use PowerShell or Command Prompt?
What to do when open command window here does not appear?
How to switch users on the Linux command line
How to fix Mac Homebrew error 'zsh: command not found: brew'