Загрузка страницы

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
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
25 сентября 2015 г. 20:24:51
00:01:51
Яндекс.Метрика