-
Home
-
News
- Easy Guide: Create Multiple Folders at Once on Windows
By Andrea | Follow |
Last Updated
It is arduous and time-consuming to create folders and their subfolders manually. If you need to create several folders quickly, MiniTool Solutions provides you with several methods to create multiple folders at once.
It is easy for all of you to create a single folder. But when you need to sort out files on your Windows, can you create multiple folders at once instead of having them one by one? You can try with the following instructions.
Tips:
MiniTool Power Data Recovery is a wonderful file recovery software developed by MiniTool Solutions. This software can be used to recover deleted files, missing photos, lost videos, and other data. Furthermore, equipped with powerful functions, it is capable of reducing scanning time and increasing recovery efficiency. You can try the free edition to scan and recover up to 1GB of files for free.
MiniTool Power Data Recovery FreeClick to Download100%Clean & Safe
2 Methods to Create Multiple Folders at Once
Method 1: Create Multiple Folders with Command Prompt
The Command Prompt, abbreviated as CMD, is a command line utility. It can execute numerous command lines thus you can use it to fix some computer errors, manage computer partitions, create folders, and more. Do you know how to create multiple folders at once using CMD? Follow the next steps to have a try.
Step 1: Press Win + R to open the Run window.
Step 2: Type cmd into the text box and press Shift + Ctrl + Enter simultaneously to run Command Prompt as administrative.
Step 3: Type cd Location and hit Enter. You need to change Location to the place where you want to create new folders. For example, if I need to create folders on the Desktop, the input command should be cd C:\Users\bj\Desktop.
Step 4: Type md “Foldername”, “Foldername”, “Foldername” and hit Enter. You should change Foldername to the name of the created folder. For instance, I’d like to create four folders named Photos, Videos, Audio, and Documents, then the command line should be md “Photos”, “Videos”, “Audio”, “Documents”.
After that, you can go to the chosen location to find your folders. This method allows you to create multiple folders with different names at once, but please note the punctuation and space in this command.
If you can’t type in Command Prompt, you can use Windows PowerShell by pressing Win + X and choosing Windows PowerShell (Admin) from the menu. When the PowerShell opens, follow the same steps above to create folders.
Method 2: Create Multiple Folders with Batch File
Another method is to create a batch file with Notepad. You can keep reading to find out how to do it.
Step 1: Press Win + S and type Notepad into the search box.
Step 2: Hit Enter to open the Notepad window.
Step 3: You need to type the following content into the text file.
@echo off
md “Foldername1”\“Subfoldername”\“Subfoldername” “Foldername2”\“Subfoldername”
Note:
You should be careful about the punctuation and space in this command line. If you want to create subfolders, there should be a slash between the two folder names. A space is required between the two different folders. All the names of folders should be enclosed in double quotes.
Step 4: Choose File > Save As. You should go to the location where you want to create those folders.
Step 5: Rename the file, change the file extension to .bat, and select All Files from the drop-down menu of Save as types.
Step 6: Click on the Save button.
After this, you can go to the location where you save the batch file and double-click on it. The folders will be created successfully!
How to Rename Multiple Folders at Once
When you need to rename multiple folders at once with the same name but a different number, you can use this easy method.
Step 1: Press Win + E to open the File Explorer.
Step 2: Find and select all the files you want to rename, then press the F2 button.
Step 3: You can type the name and hit Enter.
All your selected files will be renamed with the same name but different numbers are added behind the name. If you give the wrong name, press Ctrl + Z to revoke the operation.
You can find more methods to rename multiple folders at once from this post.
Bottom Line
You are supposed to know how to create multiple folders at once after reading this post. This skill is helpful when you need to manage your data on Windows, thus you can save more time and energy to complete other tasks.
About The Author
Position: Columnist
Andrea graduated in English and has a keen interest in the IT industry and questions that arise when computers are used. She is passionate about new things and challenging things and has a wide range of interests like playing guitar, gaming, and crafting.
The latest Windows versions allow you to automate quite a few of your tasks, for instance letting you create multiple folders and sub-folders at once. This is quite helpful in situations where you need to sort out the data (for each semester, for instance) and do not want to spend hours doing it.
There is more than one method of creating multiple files and folders in Windows, and we have outlined the best ways of doing so for you below. Read through the methods and proceed with the one you want.
1. Use the Command Prompt to Create Multiple Folders at Once
In this first method, we will be using a command-line utility called Command Prompt in Windows. Unless you are very tech-savvy, you may not have noticed it anywhere in Windows, but it has been around for quite a long time.
Typically, administrators use it to make advanced-level changes throughout the system. You can enter text-based commands to automate a bunch of tasks.
Below, we have listed detailed steps for using Command Prompt to create multiple folders at once. Make sure you are signed in to Windows as an administrator before you proceed:
- Type Command Prompt in Windows search and click on Run as administrator.
-
Alternatively, you can also open Run by pressing Win + R and type cmd in the text field. Press Ctrl + Shift + Enter to open Command Prompt as an administrator.
- Click Yes in the User Account Control prompt.
-
Type the following command in the Command Prompt window and hit Enter to execute it. Make sure to replace the [location] with the location where you want to create multiple folders.
cd /d [location]
-
For instance, if we want to create folders in the C:\users\hp\documents folder, we will execute the command like cd /d C:\users\hp\documents.
-
Then, type md following the names of the folders in one command and execute it. For instance, if we want to create folders for the first 4 months of the year. We will execute the command as:
md january february march april
- Once done, close the Command Prompt window and visit the location of folders in File Explorer to see if the folders have been created.
If for some reason using the Command Prompt does not work for you, you can use Windows Powershell (Admin) to perform the same steps. The Powershell works almost the same as Command Prompt, but it is much more powerful than cmd.
To use Powershell, follow these steps:
-
Right-click on the Windows icon on your taskbar and choose Powershell (Admin).
-
Select Yes in the UAC prompt.
-
Now, execute the command mentioned below and change the [Location] with your targeted location for creating the folders.
cd [Location]
-
We want to create the sub-folders in the document folders, so we will be executing the following command:
cd C:\users\hp\documents
-
Once done, execute the following command. Replace the [foldername] with the names you want to give the folders.
md "[foldername]", "[foldername]", "[foldername]", "[foldername]"
-
For instance, if we want to create folders for the first 4 months of the year. We will execute the command as:
md "january", "february", "march", "april"
Finally, close the Powershell window and check if the folders have been created.
2. Use the Notepad to Create Multiple Folders at Once
Though it may come as a surprise, the Windows Notepad can perform more advanced technical operations than just writing to-do lists.
The methods above are suitable if you only want to create multiple folders without any subfolders. If you wish to create subfolders as well, then an easy way to do it is by creating a batch script via Notepad.
Here is how you can do that:
- Type Notepad in Windows search and click Open.
- In the Notepad window, click type @ECHO OFF and click Enter.
-
Then type md followed by the folder and subfolder names enclosed in double quotes. For instance, if we want to create a MUO January folder with a Windows subfolder and a MUO February folder with an Android subfolder, we will type it down in Notepad as:
@ECHO OFF
md "MUOJan"\"Windows" "MUOFeb"\"Android" -
After you have typed down the names of all the folders and subfolders that you want to create, navigate to File in the top-left corner and choose Save as.
-
Give your file a name followed by .bat. For instance, we named our file as makeuseof.bat.
- Expand the dropdown for Save as type and choose All files.
- Click OK and close the Notepad.
- Now, navigate to the location of the folder and open the bat file. Opening it should create the folders and their subfolders for you.
Now that you have created multiple files and folders, organizing these files on Windows is also worth considering if you do not want to spend a lot of time looking for information in them. Additionally, Windows also allows you to rename multiple folders at once, which can be helpful when organizing them.
3. Use a Third-Party Application
Last but not least, if you think using Command Prompt and Notepad is too time-consuming, you can try using a third-party application.
There are quite a few apps that can help you achieve this, including the following:
- Soboloft
- Text 2 Folders
- Folder Frenzy
- FreeCommander XE
- XMD
For illustration purposes, we will be using Folder Frenzy. The steps of creating multiple folders in other applications might vary, but the basics will remain the same.
- Download Folder Frenzy.
- Extract the downloaded file and then launch it.
-
Click Yes in the confirmation prompt.
-
Once the Folder Frenzy dialog launches, type the names of the folders you want to create and click on the Create Folder button. These folders will be created in the Folder Frenzy file.
From here, you can even take a step further and learn how to launch multiple programs with one shortcut on Windows to increase your productivity at work or school. In case you no longer need the tool after creating bulk folders, you can uninstall it. This won’t automatically delete the folders you have created using the tool, unless the uninstallation process explicitly offers to do so and you confirm that action.
Create Multiple Folders in a Few Clicks on Windows
Creating several folders manually is a mundane task, and you can spend the same energy doing something more productive. The steps we have outlined above should help you automate this task, saving time for things that actually bring in some value.
There are multiple ways to create a single folder in Windows 11, but what if you want to create multiple folders at once? Most users create folders one by one. However, manually creating multiple folders is a tedious job especially when you want to repeatedly do it. In this article, we are explaining some easy ways to create multiple folders in Windows 11.
If you are working in a project or preparing big documentation, it is important to create a folder structure to keep your files and documents organized. This will help to access the file location easily and also increase productivity. Since there are no options available in Windows 11 for creating multiple folders, you need to use the command line or third-party apps for this purpose.
1. Using Command Prompt
The first option is to use the Command Prompt to create multiple folders using a simple set of commands.
- Find the Command Prompt app from the Start menu by typing “cmd” in the search box.
- Right-click on the app showing in the result and select “Run as administrator” option.
- Now you to change the prompt to the location where you want to create multiple folders. For that, type the following command
cd /d Location
and press enter. For example, we want to create multiple folders under “Documents”. Hence, the command should be like:
cd /d C:\Users\<Username>\OneDrive\Documents
- You can replace the location as per your need in the command and change the prompt to the desired location.
- Next, we want to create four new folders and the command for that is
md foldername1 foldername2 foldername3 foldername4
. Type the command and press enter to create multiple folders. For example, if the folder names are doc1, doc2, doc3, and doc4, then typemd doc1 doc2 doc3 doc4
and press enter key.
- Go to the location (Documents in our case) to find 4 new folders are created there with the given names.
You can create any number of folders using this method directly from Command Prompt.
Note: CD stands for Change Directory and MD stands for Make Directory. These are standard MS-DOS commands which are also used in Windows Command Prompt.
2. Using Windows PowerShell
PowerShell is a powerful scripting and automation utility. It is also used as a text-based command line interface just like Command Prompt where you can execute commands to interact with the operating system. So, instead Command Prompt, you can also use Windows PowerShell to create multiple folders at once in Windows 11.
- Right-click on the Start button and choose the “Terminal (Admin)” option from the menu.
- If you see a Command Prompt window, click the small down icon in the title bar and select “Windows PowerShell” option. This will open a new Windows PowerShell tab in administrator mode.
- Next, use
cd Location
command to change the prompt to where you want to create the folders. We are adding the same location as used in previous example. So, type the following command and press enter.
cd C:\Users\<Username>\OneDrive\Documents
- Next, execute the second command
md “foldername1”, “foldername2”, “foldername3”, “foldername4”
and press enter key. For example, we are creating four new folders by executing the command:md “New1”, “New2”, “New3”, “New4”
.
- Go to the location (Documents in our case) where you have created the multiple folders. You should find them with as per the given names in the command.
Note: You can also use Command Prompt from the Terminal app.
3. Using Batch File with Notepad
Notepad is not just a default text editing app installed in Windows; you can also use it for other purposes. One such function is to create multiple folders in Windows 11. Along with multiple folders, Notepad also allows you to create subfolders just by creating a batch file.
- Type “Notepad” in the search bar of the Start menu and open it.
- Now, type
@ECHO OFF
in the Notepad and press the enter key.
- In next line, type
md
with folder/subfolder names in the double quotes just like below:
md “Foldername1”\“Subfolder1” “Foldername2”\“Subfolder2” “Foldername3”\“Subfolder3”
- Let’s suppose we are creating three folders named New1 with subfolder topic1, New2 with subfolder topic2, and New 3 with subfolder topic3. For this, use the following line:
md “New1”\“topic1” “New2”\“topic2” “New3”\“topic3”
- Then click on the “File” tab and choose the “Save as” option.
- Give a name to the file and add .bat at the end of the name.
- Finally, select “All files” from “Save as type” dropdown and press “Save” button.
- Double click on the batch file and run it.
- This will create the folders in the same location and you can check each folder has its subfolder as mentioned in the batch file.
4. Using Third-Party Apps
If you are not interested in using these default methods, third-party apps can help you creating multiple folders in no time. There are many apps and tools available on the internet, many of which are easy and free to use. Here, we will show two such free apps.
4.1. Folder Frenzy
Folder Frenzy is a lightweight and free-to-use portable software used to create multiple folders at once in Windows 11. You can create up to 1,000 folders at a time using this app.
- Go to Softpedia.com and download the executable file of Folder Frenzy. There is no setup pack, just click on the file and run it.
- To create multiple folders, type the name of the folders you want to create in the space given. Make sure to type one folder name per line.
- Make sure to enter the complete path of your folder so that Folder Frenzy can work properly. For instance, let’s create two new folders in Drive E named “new folder 1” and “new folder 2”. For this, you have to type the below two lines and then press “Create Folder(s)” button.
"E:\new folder 1"
"E:\new folder 2"
- Now navigate to the location (E drive in our example) to find the created folders.
4.2. Folder Creator
This is another good tool to organize and create multiple folders easily. It is a free and open-source application that doesn’t require installation.
- Go to the GitHub and download Folder Creator app by clicking on the “Download Binary Release” link.
- Open the app and the first thing to do is to select your “Target folder”. The default target folder is Desktop for this app. If you want to change the location, click on the three dots and select your location.
- Next step is to enter the name of the folder and set the numeric range.
- Then, press the “Create” button to create the folders with given names.
- Go to the target location and check the newly created folders there.
For example, we used folder name as “document” and the range from 0 to 3 for creating 4 folders with the name as document0, document1, document2 and document3. You can see the folders names in the preview pane before creating them to make sure the names are correct.
Final Thoughts
Creating multiple folders is a routine you may need to do when working in a big project. The above-mentioned methods will help you to create multiple folders in Windows 11 quickly. If you are a computer geek, use Command Prompt and PowerShell for this purpose. And if you are not familiar with commands, it is better to lay hands on either Notepad or third-party apps.
В свое время я рассказывал, как в вызываемое правым щелчком мыши меню поместить ярлык для создания новой папки. Это удобная техника, однако она позволяет за один раз создавать только одну папку, причем аналогичное ограничение распространяется и на бесплатную программу BxNewFolder, о которой я также раньше упоминал.
В свое время я рассказывал, как в вызываемое правым щелчком мыши меню поместить ярлык для создания новой папки (find.pcworld.com/49946 — чтобы обратиться к данному и другим подобным источникам, необходимо сначала набрать в браузере find.pcworld.com, а затем на появившейся странице ввести требуемое число, в нашем случае — 49946. — Прим. ред.). Это удобная техника, однако она позволяет за один раз создавать только одну папку, причем аналогичное ограничение распространяется и на бесплатную программу BxNewFolder (find.pcworld.com/48104), о которой я также раньше упоминал.
Для организации одновременно нескольких папок, включая подпапки внутри новых, нужен всего лишь очень простой командный файл из трех строк и (иногда) маленькая поправка одной программной ошибки Windows. Чтобы создать необходимый программный файл, откройте Блокнот или ваш любимый текстовый редактор и в первой строке напечатайте @echo off. Нажмите и в следующей строке введите команду set /p name=“Type folder name(s):“. (Не забудьте, что кавычки должны быть прямые, как на пишущей машинке. В Блокноте они отображаются, как правило, автоматически.) При запуске исполняемого файла эта строка потребует ввести одно имя или несколько имен для ваших новых папок и сохранит их в переменной name. Снова нажмите , после чего в третьей и последней строке исполняемого файла напечатайте команду md %1\%name% и нажмите еще раз. Выполнение последней команды приведет к созданию новой папки (вследствие наличия в строке команды md, она же make directory, что означает «создать каталог») внутри текущей папки (на что указывают символы %1) с использованием тех имен, которые вы ранее ввели и сохранили в переменной (%name%). Выберите теперь опции «Файл•Сохранить», отправляйтесь к той папке, в которой вы размещаете свои исполняемые файлы (она может называться как-нибудь вроде c:/batch), задайте для файла интуитивно понятное имя наподобие make_dir.cmd и щелкните на кнопке «Сохранить».
Чтобы добавить созданный исполняемый файл к контекстному меню для папок (вызываемому правой кнопкой мыши), откройте окно папки или окно Проводника (например, нажатием клавиш +E латинское) и укажите опции «Сервис•Свойства папки•Типы файлов». Спускайтесь вниз по списку зарегистрированных типов файлов, пока не доберетесь до File Folder. Щелкните на кнопке «Дополнительно», чтобы раскрыть окно изменения свойств типа файлов, и выберите кнопку «Создать», открыв тем самым окно «Новое действие». В графе «Действие» укажите имя команды, которое будет появляться в вашем контекстном меню (например, «Создать несколько папок»). В графу «Приложение, исполняющее действие» введите имя созданного исполняемого файла с указанием пути к нему и последующим пробелом и символами «%1» — к примеру, e:appsatch make_dir «%1» (естественно, имя файла и путь у вас могут быть и другими). Дважды нажмите OK, а потом кнопку «Закрыть» для возвращения в окно Проводника.
К сожалению, если при введении текста в окно «Новое действие» вы допустите какую-либо ошибку, для ее исправления придется обратиться к Редактору реестра. Коли дело дойдет до этого, то на всякий случай сперва создайте резервную копию своего Реестра (как это делать, подробно рассказано в материале С. Мястковского, см. find.pcworld.com/49950). Затем выберите опции «Пуск•Выполнить», введите команду regedit и нажмите . По левой створке окна спускайтесь до позиции HKEY_ CLASSES_ROOTDirectoryshell. Отметьте папку с именем только что добавленной вами команды (например, «Создать несколько папок»), дважды щелкните на значке «По умолчанию» на правой створке для открытия командной строки в диалоговом окне «Изменение строкового параметра» и вносите любые изменения. Чтобы полностью удалить созданную команду, закройте диалоговое окно, щелкните правой кнопкой мыши на нужной папке на левой створке, укажите опцию «Удалить» и нажмите кнопку «Да» для подтверждения внесенного изменения. С дальнейшими подробностями можно познакомиться в моей статье — find.pcworld.com/49952.
Предупреждение о программной ошибке. Все, что происходит тогда, когда вы создаете описываемый ярлык в Windows XP (а также в других случаях раскрытия диалогового окна изменения типа файлов), вполне вероятно, может выглядеть иначе, чем было описано выше, из-за одной программной ошибки в этой операционной системе. Исправить ее нетрудно, правда, требуется редактирование Реестра Windows. Как это сделать, описано в заметке find.pcworld.com/49948.
Теперь, когда вам захочется создать одну папку или несколько (включая вложенные), щелкните правой кнопкой мыши внутри любой папки и в раскрывшемся контекстном меню выберите опцию «Создать несколько папок» (или как вы ее сами назвали; рис. 1). В командной строке раскрывшегося окна укажите имена новых папок, разделяя их пробелами. Если вам хочется дать папкам имена, включающие в себя пробелы, заключите эти имена в кавычки. При формировании подпапки используйте знак обратной косой черты («»), чтобы отделить имя главной папки от имени вложенной. Сделав это, нажмите для создания всех папок. Так, для организации папок, показанных на рис. 2, введите последовательность 01-JanDraft 01-JanFinal 02-FebDraft 02-FebFinal 03-Mar Draft 03-MarFinal и нажмите . Отметив объемлющую папку и нажав клавишу со звездочкой («*») на цифровой панели, можно быстро раскрыть все ветви, как это показано на рис. 2.
Чистим контекстное меню «Открыть с помощью»
? Как убрать программы из списка, который появляется при выборе опций «Открыть с помощью•Выбрать программу» в контекстном меню, вызываемом правой кнопкой мыши?
Дейв Бюргард, Уорхэм,
шт. Массачусетс
! Для начала замечу, что добавлять программу к подменю «Открыть с помощью» в контекстном меню Windows очень легко: надо всего лишь задать опции «Открыть с помощью•Выбрать программу», найти нужную программу в списке и нажать OK. Когда вы в следующий раз щелкнете правой кнопкой на файле данного типа, то результат вашего выбора появится в подменю «Открыть с помощью».
А вот удаление элемента из подменю «Открыть с помощью» требует редактирования Реестра Windows, для чего, как было сказано в предыдущем совете, надо сперва создать резервную копию Реестра.
После того как это сделано, выберите опции «Пуск•Выполнить», нажмите , чтобы раскрыть Редактор реестра, и спускайтесь по левой его створке до позиции HKEY_ CURRENT_USERSoftwareMicrosoft WindowsCurrent VersionExplorer FileExts.
Если необходимо, щелкните на плюсике («+») при ключе FileExts, чтобы увидеть все нижележащие ветви, а затем на плюсике рядом с ключом, соответствующим тому расширению имени файла, чье контекстное меню вы хотите отредактировать. Отметьте потом ключ OpenWithList под этим расширением.
На правой створке укажите значок, соответствующий тому элементу, который вы желаете удалить из контекстного меню. (Имейте в виду, что справа вы видите не имя того или иного элемента меню, а имя файла, запускающегося при выборе данного элемента.) Щелкните правой кнопкой мыши на значке нужного файла, выберите «Удалить» (или просто нажмите клавишу на клавиатуре и щелкните на кнопке «Да» (или нажмите ) для подтверждения действия (рис. 3). Как было бы славно, если бы все сорвавшиеся с цепи меню Windows можно было укротить так же просто!
Scott Dunn. The Quickest Way to Make Several Folders at Once. PC World, февраль 2006 г., с. 122.
Инструменты Windows
Я уже рассказывал (find.pcworld.com/49954) о скрытой мощи командной строки Windows. Беда, однако, заключается в том, что темное и мрачное окно командной строки (оно вызывается выбором опций «Пуск•Все программы•Стандартные•Командная строка») способно нагнать страху на тех, кто вырос на приятном для глаз графическом интерфейсе. Удовлетворить их потребности способна условно-бесплатная программа PromptPal, которая снабжает окно командной строки обычными для программ редактирования основными удобствами, такими как копирование, вставка и перетаскивание фрагментов текста. При вводе последнего функция автозавершения предлагает список доступных команд, а также недавно введенных командных строк. Например, если вы вводите a / с целью добавить к командной строке какой-нибудь переключатель, на экране всплывает окно со списком доступных переключателей и полезной информацией о каждом из них.
Запустить PromptPal (или сменить его текущий каталог) можно из любой папки командой контекстного меню, вызываемого правой кнопкой мыши. PromptPal способна даже добавлять командную графу к Панели задач, что позволяет сочетать лучшие черты окна командной строки с имеющимися в Windows опциями, вызываемыми посредством выбора «Пуск•Выполнить». Для получения полной сводки возможностей данной утилиты зайдите на сайт www.promptpal.com, а пробная 30-дневная версия программы есть по адресу find.pcworld.com/49956.