How To Create Multiple Folders And Sub-Folders In One Go
2014-10-12 22:12
2116 查看
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.
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.
md 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.
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.
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 wantto 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 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.
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.
相关文章推荐
- How to delete subfolders and files in a folder
- How to create a secured and locked folder in XP
- how to get url and hostname and url text in one page
- How to create a DLL library in C and then use it with C#
- SharePoint 2007 - /_layouts and how to create pages that run in site context
- How to create (and deploy) a windows service in C# ?
- How to create simple and advanced pivot tables in C# and ASP.NET
- How To Create a New User and Grant Permissions in MySQL
- how to blend VB and C# in one project
- How to create a DLL library in C and then use it with C#
- How to create aligned partitions in Linux for use with NetApp LUNs, VMDKs, VHDs and other virtual di
- 转:How to create your own custom 404 error page and handle redirect in SharePoint 2007 (MOSS)?
- How to create and extract zip, tar, tar.gz and tar.bz2 files in Linux
- How To Create a New User and Grant Permissions in MySQL
- How to check invalid objects and broken job in multiple database
- How to install multi OS(Windows/Linux) in one PC box and boot them easily
- How to create your own custom 404 error page and handle redirect in SharePoint 2007 (MOSS)?
- How to create a project from existing source in Eclipse and then find it?
- How to create and execute JAR file in Java – Command line Eclipse Netbeans
- How to create Immutable Class and Object in Java - Tutorial Example