What is a DOS command
DOS commands, computer terminology, refers to DOS operating system commands, is a disk-oriented operation command, mainly including directory operation class commands, disk operation class commands, file operation class commands and other commands.
Bring up the Run dialog: Win+r shortcut key
Open a naming prompt, the DOS command window
Enter Help to view DOS commands under the current command line window
When we use basic DOS commands, we can append detailed parameters to help you with the specified actions.
Use/? To view the parameters that can be appended
CMD common commands
Dir View current directory
CD Switch Directory
mkdir Creating a Directory
RmDir Deleting a directory
del Delete file
Copy copied files
Type View file contents
Exit cmd command Line window
CLS Clear Screen
Below I'll show you the most common DOS commands
is not very simple, in fact, these operations we use the mouse can be implemented, but the early operating system does not have a GUI (form the interface), even the mouse is not, using the computer can only be used by the keyboard to face a black box to knock command, then why we enter the command can pop up a GUI interface window? Knowing its reason, the environment variable path of the command is C:\Windows\System32.
Network commands
Ping
Ipconfig
Common shortcut keys
1 Ctrl + C//Copy
2 Ctrl + V//paste
3 CTRL + X//Cut
4 CTRL + A//all selected
5 CTRL + Z//Undo
6 CTRL + S//Save
WIN10 System shortcut keys
1 Windows + D//Open Desktop
2 windows + E//Open Explorer folder
3 Windows + R//Open cmd window
System Tools shortcut keys
1 Calc//Calculator
2 Notepad//Notepad
3 MSPaint//Drawing
4 Diskmgmt.msc//Disk Management tools
5 Compmgmt.msc//Computer Management
6 lusrmgr.msc//user and Group management
7 Services.msc//Services
8 gpedit.msc//Group Policy
9 regedit//Registration Form
Shutdown
Shutdown.exe-s shut down the machine
Shutdown.exe-a Cancel shutdown
Shutdown.exe-r Shutdown and restart
Shutdown.exe-f forcibly shutting down the application
Shutdown.exe-l Log off the current user
SHUTDOWN.EXE-M \ computer Name control remote computer
Shutdown.exe-i Display graphical user interface
Shutdown.exe-t Time setting Shutdown countdown
SHUTDOWN.EXE-C "Message Content" Enter the message content in the Shutdown dialog box (cannot exceed 127 characters)
Example:
The computer shuts down at 24:00 –at 24:00 shutdown-s
Countdown mode shutdown –shutdown.exe-s-T 7200
CMD Command Advanced
Doskey/history
Netstat-ano
ipconfig | Find "IPV4 Address"
echo "HelloWorld" > C:\1.txt
net stop Telnet
DOS Command Basics for Windows