How To Create Multiple Folders And Sub-Folders In One Go

来源:互联网 发布:ubuntu17.10安装软件 编辑:程序博客网 时间:2024/05/01 21:36

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 calledText 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.

Text To Folders 7

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.

Text To Folders 8

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 themd command in following way.

md <folder name>/<sub-folder name>

For example,


md Music
md Videos
md Pictures
md Documents
md C:\User\Test\Desktop\AddictiveTips\Documents\Home

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.

Batch Method 3

Now, just run the batch file to create the folders and sub-folders.

Batch Method 2

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 manualmd 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 overmd 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.

0 0