How to create multiple folders at once using a batch file
How to create multiple folders at once using a batch file
Batch file commands (as used in this video):
"@echo off
md images videos articles\pages articles\posts"
You can also use 'mkdir' instead of 'md'; both commands do exactly the same. To make folders with spaces in the folder name, use quotation marks. Example:
md "Folder\Folder Name"
Follow me on other media:
►Website: http://www.guidoshowtos.com
►Facebook: https://www.facebook.com/guidoshowtos
►Twitter: https://twitter.com/guidoshowtos
►Google+: https://plus.google.com/+Guidoshowtos
Full instructions:
First, create a batch file. Right-click,’New’, ‘Text document’, give it a name, and give it the .bat file extension.
Click 'Yes'.
Now right-click your file, and click 'edit'.
Start the batch file with @echo off. This will prevent the commands from showing on screen when running the batch file.
Now type ‘md’, which means ‘make directory’. This is the command for creating a folder.
Then type a space, and the name of the folder you want to create.
To create multiple folders at once, separate them with a space.
To create a folder with a subfolder, type the name of the folder, then use the backslash (\), followed by the name of the subfolder.
When you're done typing the names of the folders you want to create, click 'File' and, 'Save', and close the batch file.
Double-click on your batch file to run it.
And, it works! As you can see, it created all the folders I wanted to create, including this folder, with two subfolders.
Видео How to create multiple folders at once using a batch file канала Guido's How-to's
Batch file commands (as used in this video):
"@echo off
md images videos articles\pages articles\posts"
You can also use 'mkdir' instead of 'md'; both commands do exactly the same. To make folders with spaces in the folder name, use quotation marks. Example:
md "Folder\Folder Name"
Follow me on other media:
►Website: http://www.guidoshowtos.com
►Facebook: https://www.facebook.com/guidoshowtos
►Twitter: https://twitter.com/guidoshowtos
►Google+: https://plus.google.com/+Guidoshowtos
Full instructions:
First, create a batch file. Right-click,’New’, ‘Text document’, give it a name, and give it the .bat file extension.
Click 'Yes'.
Now right-click your file, and click 'edit'.
Start the batch file with @echo off. This will prevent the commands from showing on screen when running the batch file.
Now type ‘md’, which means ‘make directory’. This is the command for creating a folder.
Then type a space, and the name of the folder you want to create.
To create multiple folders at once, separate them with a space.
To create a folder with a subfolder, type the name of the folder, then use the backslash (\), followed by the name of the subfolder.
When you're done typing the names of the folders you want to create, click 'File' and, 'Save', and close the batch file.
Double-click on your batch file to run it.
And, it works! As you can see, it created all the folders I wanted to create, including this folder, with two subfolders.
Видео How to create multiple folders at once using a batch file канала Guido's How-to's
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Google Sheets VLOOKUP: how to lookup a value from another sheet!](https://i.ytimg.com/vi/nVYZ9hmn73I/default.jpg)
![Cupom Hostgator - 60% cupom de desconto Hostgator (2017)](https://i.ytimg.com/vi/tzU18IgIfDo/default.jpg)
![How to mute tabs in Google Chrome](https://i.ytimg.com/vi/6UdKtNzQv5M/default.jpg)
![How to automatically back up your WordPress website to Dropbox (easy and free!)](https://i.ytimg.com/vi/GyN17xY_Uco/default.jpg)
![How to find a Wordpress Page ID (2 methods!)](https://i.ytimg.com/vi/jbgWYoe586E/default.jpg)
![Excel: create a drop down list](https://i.ytimg.com/vi/lQ8pgNQroXs/default.jpg)
![How to block access to the wp-content uploads folder](https://i.ytimg.com/vi/HYz5WBCUZR0/default.jpg)
![How to add a Pinterest Follow button to WordPress](https://i.ytimg.com/vi/cRL_iEdyAng/default.jpg)
![Excel: how to reverse the order of rows](https://i.ytimg.com/vi/XXQbWi_ULls/default.jpg)
![Excel: how to unhide all rows](https://i.ytimg.com/vi/Bky3jCDkchA/default.jpg)
![MS Word: how to change the orientation of ONE page](https://i.ytimg.com/vi/s5VQpJnXyBI/default.jpg)
![How to add a table of contents to WordPress](https://i.ytimg.com/vi/pzDn2RD7NMY/default.jpg)
![How to delete every other row in Excel](https://i.ytimg.com/vi/UjnbAsJTUp4/default.jpg)
![How to add a Google Plus follow button to WordPress](https://i.ytimg.com/vi/w5QLbWfGGhI/default.jpg)
![How to find and highlight duplicates in Excel](https://i.ytimg.com/vi/X_-9SUF1EAI/default.jpg)
![WordPress: how to change the font (size / type / color) on your entire website](https://i.ytimg.com/vi/tPZVwdhvAPk/default.jpg)
![Word: How to center text vertically](https://i.ytimg.com/vi/EdJ-2RDsHRI/default.jpg)
![How to delete multiple blank rows in Excel](https://i.ytimg.com/vi/NgYgO_lHXdY/default.jpg)
![How to add a file extension to multiple files at once using a batch file (Batch files #8)](https://i.ytimg.com/vi/FwDaB-AHwcQ/default.jpg)
![How to use a custom domain on your Blogger.com blog (2017)](https://i.ytimg.com/vi/Fq2AHCetkGM/default.jpg)