ReePrime China
How to create  batch file

此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。

How to create batch file

7 次观看 01:51 sohail murtaza

描述

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.