Windows cmd command line operation skills

Press win+r and enter cmd at the same time to quickly open the cmd window (if the computer has a blue screen, you can also enter explorer.exe to restart the resource manager, calc can start the calculator, notepad can open notepad, mspaint can open the drawing board)

In addition, you can also enter cmd in the folder address bar and press the enter key to quickly enter.

 

 

 

 

 Click the icon in the upper left corner and select Properties. You can open the shortcut key for copy and paste (ctrl+c/ctrl+v). If the old version of Windows does not have this setting option, you can click the icon in the upper left corner and select the function in Edit to perform related operations. This allows for quick sample input while programming. If this option is not turned on, ctrl+c is generally used to terminate the execution of the current command.

Some common techniques:

1. Enter the path and drag the file or folder directly into cmd.

2. Enter dir to display all files and folders in the current directory.

3. After entering the first letter of the file or file name, you can press the Tab key to quickly switch to select files or folders with the same prefix name in the current directory. Shift+Tab can select in reverse order.

4. To quickly input and view history records, just press "↑", and then use "↓" to select the next command. The complete history can be viewed by pressing F7. 

5. ESC can clear the current command line

6. Scheduled shutdown shutdown -s -t senconds where seconds is the set number of seconds until shutdown. You can also use a specific shutdown time for shutdown, such as at 21:00 shutdown -s. If you need to cancel the shutdown, enter shutdown -a

7. Clear the screen using CLS

8. Command prompt: For example, enter shutdown ? to view command-related parameter information.

Guess you like

Origin blog.csdn.net/qq_36369267/article/details/118720705