Quickly create multiple folders in Windows 10


Quickly create multiple folders in Windows 10

Within Windows 10 you often create folders and subfolders to keep the overview on your computer. Creating folders does not take a lot of time. But it can take a lot of time if you have to perform the same action over and over for larger projects. In this article we therefore explain how you can quickly create multiple folders in Windows 10.

So if you know in advance that you need a lot of folders and subfolders, it can be useful to work with a batch file or via the Command Prompt. With those two options you can speed up the process somewhat and you don’t have to do a lot of manual action anymore. We’ll start with the Command Prompt.

Create Windows 10 Folders with Command Prompt

To open the Command Prompt, open Start. Enter the letters cmd and select from the search results Command Prompt with your right mouse button. Indicate that you want to run the app as administrator. In this black window, we must first specify a target location. Chances are, the default save location C:Windowssystem32 is. Now first type in cd, followed by a space and the destination location of the folder in which you want to create the other folders. That could be:

CD C:users[gebruikersnaam]documents

The documents folder then becomes the root folder; the folders from the first line appear there. For example, if you want to create a folder for each day of the week, enter this row of words in the next row. Please note the capitalization, if that is important to you. because Windows 10 takes the folder names literally.

md Monday Tuesday Wednesday Thursday Friday

You can create as many folders as you want by changing the names after the letters md. If you want to create a folder within a folder, you will get the following target location in this case, for example: Cd C:users[gebruikersnaam]documentsmonday. After creating the folders, open the Explorer and you can visit and use the folders you just created.

Create Windows 10 Folders with Batch File

A second option is to work with a batch file. That is a script: a computer file in which a number of computer commands are placed, which are executed one after the other.

To do this, open a notepad file and type in the names of the folders and subfolders, in the correct order. You also have to put a space between one folder (group) and another folder (group) so that Windows knows that it is a different folder. For example, if you want to create folders for each day for the month of June, you would type in:

JuneWeek-1Monday JuneWeek-1Tuesday JuneWeek-1Wednesday JuneWeek-1Thursday JuneWeek-1Friday JuneWeek-1Saturday JuneWeek-1Sunday

If your map has two words or special characters in the name, you must enclose that name in quotes.

Once you have the names and structure ready, type @echo off at the top of the file, as the first line. Then press Enter. Now type md for each folder (group), as if it were a separate line within the Command Prompt. If you used spaces between the different folder names, you only need to put md before the first folder once.

Now give the file a name of your choice, but do not save it yet. You still have to change the file type. It defaults to .txt, but should change to .bat (from batch). After saving, you can quickly click this file twice to let Windows 10 run the script.

.

Recent Articles

Related Stories