1. Color
Sets the default console foreground and background color.
ATTR Specifies the color properties of the console output.
The color attribute is specified by two hexadecimal digits-the first corresponds to the background, and the second corresponds to the foreground. Each number
Can be any of the following values:
0 = Black 8 = Gray
1 = Blue 9 = light Blue
2 = green A = Light Green
3 = light green B = Light Green
4 = Red C = Light Red
5 = Purple D = Lavender
6 = Yellow E = Light Yellow
7 = White F = Bright White
At the start of the fight, the colors were like this.
I want to set Beijing to White and the foreground (font) to black. Bright white corresponds to F, black corresponds to 0, the input command is "COLOR F0"
2. Dir
In general, it is to see the contents of the current directory and related properties, but there are some other tips.
. opening means hiding
. Represents the current directory
.. Represents the previous level of the directory
You can use * as a wildcard character to view a file of a certain type (suffix) in the current directory. The following is a PDF file that looks at the current directory "dir *.pdf"
Dir also has more parameters and applications. This page description is clear and detailed: http://www.computerhope.com/dirhlp.htm
3. Copy
Copy.
Copy source file Destination file
If the source and destination files are in the same folder, copy and rename.
4. Shutdown
Shutdown command
5. mkdir
Create a Directory
6. RmDir
Remove Directory
7. Attrib
Attrib is used to change the properties of a file.
Read-only is read-only and cannot be written or changed.
Archived let the backup file know what files should be backed up.
Hidden make files hidden for standard users
The system makes the file an important systems file
+ Set Properties,-clear a property
R Read Only
A archive file
s System file
H Hidden
8. cd
Switch directories, commonly available [CD..] The top level directory. [CD Dir_name] enters a folder.
Common DOS Commands (1) color,dir,copy,shutdown,mkdir (MD), RmDir (RD), ATTRIB,CD