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
- 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
May be interested
- Steps to backup GPU settings for Windows 10 appsbacking up the gpu settings for the application will help you quickly restore the system to default when encountering errors.
- Steps to restore Windows Security on Windows 10improper customization of windows security can pose a security risk to users. to solve this problem, you need to restore windows security to default so that they maximize windows protection.
- How to disable Windows Registry on Windows 10the windows registry is one of the most important tools in windows 10. since it can profoundly change the way your operating system works, allowing every user on your pc to access it isn't a big deal. good opinion.
- Steps to initially set up a new SSD on Windows 10before you start using an ssd as secondary storage, you need to initialize it correctly. failure to do so may result in the operating system failing to detect the ssd.
- How to increase font sharpness on Windows 10how to increase font sharpness on windows 10? instructions to fix blurred text on windows 10 with the cleartype tool, increase the definition of text on windows 10...
- Steps to recover lost Taskbar icon on Windows 10pinning favorite apps to the taskbar can be very helpful. it saves you the hassle of searching for apps or having to use the start menu to open them. however, what happens when the pinned icons on your taskbar suddenly disappear?