Common dos commands and basic dos Commands
Enter Terminal
First, you have a console (command line Prompt window) for entering the doscommand:
How to open a console:
Method 1: Start -------> all programs ---------> accessories -----------> Command Prompt
Method 2: Start -------> RUN --------> Enter cmd.
Common doscommands:
Drive letter: Enter the specified disk.
Operation Folder:
Dir has no parameter to list all files and folders in the path of the current console.
/Ah only shows hidden files.
/A display all files
/S display all files and Their subfiles
Cd path to enter the specified path.
Cd .. roll back to the upper-level directory.
Cd \ roll back to the root directory in the current path.
Create a folder by the name of the md folder
The name of the rd folder to delete an empty folder. Note: it cannot be used to delete non-empty folders.
Operation file:
Echo Data> the file name creates a file and specifies the data to be written.
Type file name to view the specified file content.
Del file name: Delete the specified file. NOTE: If del is followed by a folder, all files in the folder are deleted.
* Wildcard (any file name can be matched)
Copy path \ new file path \ file copy file from old path to new path.
Move path \ new file path \ file move file to New Path
Tab content completion.
Cls clear screen
Network Problems
Ping the Host ip address or name to send icmp packets to the target host to check whether the target host can detect and respond accordingly. Generally, it is used to test whether the normal network is smooth. A single ping failure does not mean that the network is disconnected. It may be because the target host is installed with a firewall and has organized icmp.
The ping-t Host ip address or name does not stop sending packets.
Ipconfig does not have a parameter to display the network interface status of the current machine.
The up and down arrow keys are used to retrieve the commands that were last written.
Exit to close the console.