You remember the RD command? When you use the RD command to delete a directory, you first delete the files in the directory, and if there are subdirectories in the directory, you need to go into this directory and use the RD command to delete the
Automatically import registry, with detection:
On Error Resume Next
Dim Msg,fso,shell
Set FSO = WScript.CreateObject ("Scripting.FileSystemObject")
Set WshShell = WScript. CreateObject ("Wscript.Shell")
Set shell = WScript.CreateObject
DOS Base Command
CD Change current directory sys make DOS system disk
Copy copy file del Delete file
deltree delete directory tree dir column file name
diskcopy disk Edit Text Edit
Format formatted disk MD to establish subdirectories
Mem View
first Open the command prompt administrator, open the Run input: CMD
First, delete the file syntax one:
RD Directory Name/s
RD/S Directory Name
Both of these are asked before deletion to delete all content, including the target directory.
DOS command
(i) md--to build subdirectories
1. Function: Create a new subdirectory
2. Type: Internal command
3. Format: md[Letter: [path name]〈 subdirectory name]
4. Instructions for use:
(1) "Disk character": Specifies the letter of the disk drive
i) md--to build subdirectories
1. Function: Create a new subdirectory
2. Type: Internal command
3. Format: md[Letter: [path name]〈 subdirectory name]
4. Instructions for use:
(1) "Disk character": Specifies the letter of the disk drive to
What are the commands in the batch file?
For the time being, the commands in the batch file can be understood as the DOS command, and will be explained later. batch Processing, as its name implies, is a pile of things heap together for
1. symbol conventions
To facilitate the description of the format, we use some symbol conventions which are common:
C:
Drive letter
Path
Path
Filename
File Name
. Ext
Extension
Filespec
(vi) tree--display disk directory structure command
1. Features: Displays all directory paths on the specified drive and all file names under these directories.
2. Type: External command
3. Format: tree[Letter:][/f]["PRN]
4. Instructions for
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.