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.
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 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.
- How To Create Multiple Folders And Sub-Folders In One Go
- Access to shared folders in Virtual Box
- Virtualbox and Shared Folders
- Virtualbox and Shared Folders
- [Mac]How to delete all .svn folders under current folder?
- Automatically Move Daily Emails to Specific Folders in Outlook
- Vagrant: Failed to mount folders in Linux guest...
- Browse Folder dialog, search folder and all sub folders using C/C++..
- How to define multiple controllers for one view in angularJS?
- dos xcopy files and folders
- About Folders, Directories, and Pathnames
- npm folders and dependencies resolve
- How will you recursively search for presence of a particular text under multiple folders unix?
- Cocos2d-x Create groups for any added folders 与 Create folder references for any added folders
- Create groups for any added folders 和 Create folder references for any added folders
- message file info and folders info
- Working with iPhone files and folders
- enumerate Files and Folders(遍历)
- 记湖南省第十届程序设计竞赛
- 字典树
- socket通信实例
- javascript作用域链例子解析
- 关于在win7上搭建Cocos2d-x win32开发环境的感悟
- How To Create Multiple Folders And Sub-Folders In One Go
- 【白话经典算法系列之三】 希尔排序的实现
- 作业2
- 作业3
- gdb学习(二)[第二版]
- 【白话经典算法系列之四】 直接选择排序及交换二个数据的正确实现
- 某天的作业
- ZOJ 3829 Known Notation(字符串处理 数学 牡丹江现场赛)
- 购物车实现逻辑【详解】