Simple dos operation command

1 dir
No arguments: View files and folders in the current directory.
/s: View files and folders in the current directory and all its subdirectories.
/a: View all files including hidden files.
/ah: Only show hidden files.
/w: Displays files and folders in a compact way (5 files on one line).
/p: Display in pagination mode (it will automatically pause after displaying a page).
|more: The previous symbol is the one above "\", which is called the redirection symbol, which is to put a
The result of a command is output as an argument to another command. more is also a command, dir /w |more
The result obtained is the same as that of dir /w /p.
For other parameters, you can use: dir/? to view.

2 cd
cd directory name: enter a specific directory. If you see a directory displayed as: abcdef ghi
Enter: cdabcdef.ghi to enter this directory.
cd\ to go back to the root directory.
cd.. back to the previous directory.

3 md rd
md directory name: create a specific folder. (Dos is used to call it a directory, and win is used to call it a file.
folder. Ha ha! )
rd directory name: delete a specific folder.

4 cls
Clear the screen.

5 copy
copy path\filenamepath\filename: Copy a file to another place.

6 move
move path\filenamepath\filename: move a file (that is, cut + copy) to another
a place.

7 of the
del filename: delete a file.
del *.*: Delete all files in the current folder.
del cannot delete folders.

8 ipconfig Very useful network configuration, troubleshooting. . . Order.
Displays the network interface status of the current machine without adding parameters.
/all is detailed information first.
/release release the current ip.
/renew Re-apply for ip.
/flushdns Flush the dns cache.
/registerdns Re-register yourself on the dns server.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326177789&siteId=291194637