How many times have you come across situations where you have different types of files scattered around in a folder, for example all those music files, movies and documents that you download need to be sorted out into folders at some point? We have two methods for you to make multiple folders along with sub-folders, at once. In first method, we will use an application called Text 2 Folders. The other method involves using Batch (BAT) file. These methods will save you a lot of time that you would have otherwise spent creating folders one by one.
Using Text 2 Folders Application
Text 2 Folders is a simple yet effective tool to make multiple folders and nested folders at once. First off, choose a root folder where you want to create all the other folders. The next step is to create a text file with names of folders that you want to create. We used “Music”, ‘Videos”, “Pictures”, and “Documents” as folder names. Notice that we’re also creating two sub-folders “Home” and “Office” inside the Documents folder by using a “/” to set the path.
Now, save the file and insert the complete path of the file in “Text File” field. Click Create Folders to automatically create the folders and sub-folders at once that you mentioned in the text file.
Using Batch (BAT) Command
The second method for creating multiple folders requires using the Batch (BAT) file. First you create a root folder in which you want your other folders to appear. Once done, create a text file in root folder and enter the md command in following way.
md <folder name>/<sub-folder name>
If you want to create sub-folder, enter the full path of parent folder followed by required sub-folder name. When done, change the file extension to BAT. For instance, dir.txt to dir.bat.
Now, just run the batch file to create the folders and sub-folders.
Both these methods have their own pros and cons. If you want to create a sub folder using Text 2 Folder, you have to first write the name of the main folder and then write the name of the sub-folder, whereas with manual md command method, you can just write the path of the sub-folder and it will create the sub folder as well as the parent folders in root directory. The advantage of using Text 2 Folder over md command is that you don’t have to write the complete paths of folders.
Both methods can be used under Windows XP, Windows Vista and Windows 7.