Although there are many shortcut keys in the Windows system, there are very few shortcut keys that we usually use in the CMD command prompt. By collecting these shortcut keys, I found the 30+CMD operation shortcut keys that have been dusty for a long time. We can use shortcut keys to simplify the selection in the command prompt.
Everyone knows that the command prompt is an indispensable tool for system management in Windows. Users can use a variety of commands to implement management methods that are difficult for graphical interfaces. The Windows command prompt relies on a large number of keyboard shortcuts in terms of its nature of use. Most of the shortcuts mentioned in this article appeared in the early days of CMD release, but there are some new operations in Windows 10 (especially the use of the Ctrl key), so let's take a look.
Quick Start and Shutdown Command Prompt
There are many ways to open a command prompt in Windows. Let's summarize some common ways to open and close a keyboard only:
Windows (or Windows + R) Enter CMD Open the normal mode of the command prompt
Windows + X Press C to open the normal mode of the command prompt (Win10 added)
Windows + X Press A Open the administrator mode of the command prompt (new in Win10)
Alt+F4 or execute exit Close the command prompt
Alt+Enter Switch between full screen or window mode
Although there are many ways to open it, it is recommended that you always open it with administrator privileges when you use it to avoid permission problems during operation.
Moving the cursor
In the command prompt, you can place the cursor anywhere with a mouse click. The keyboard shortcuts are:
Home and End: Move the cursor to the beginning or end of the line
Ctrl + ← and Ctrl + →: Move the cursor to the previous or next word
Ctrl + ↑ and Ctrl + ↓: Scroll up and down content
Ctrl+M: Enter or exit Marker Mode
As with VIM in Linux, after using the custom shortcuts, I believe you must be used to working with commands. Then switch to the mouse to get a little bit.
Quickly select text
In the command prompt, we can also use the shortcut keys to select characters, words, whole line level or full screen level for the text in the command prompt: Br>
Shift + ← and Shift + →: Extend a range of characters to the left or right
Shift + ↑ and Shift + ↓: Extend the selection range up or down
Shift + Ctrl + ← and Shift + Ctrl + →: Extend the selection range of a word to the left or right
Shift + Home: Select the current character to the beginning of the line
Shift + End: Select the current character to the end of the line
Ctrl+ Shift + Home and Ctrl+ Shift + End: Select the current character to the beginning or end of the screen buffer
It seems to be more complicated. In fact, it is the different combination of Ctrl, Shift and up, down, left and right keys. It is more convenient to use it than to use the mouse.
Shortcut Text
Checking is just the first step, and the manipulation of the text is essential. Let's talk about how to quickly copy, paste and delete in the command prompt:
Ctrl + C or Ctrl + Insert: copy the currently selected text
Ctrl + V or Shift +Insert: Paste from the clipboard
Backspace: Delete the left character of the cursor
Ctrl + Backspace: Delete the word to the left of the cursor
Tab: Automatically complete the file name, folder Path or command
Escape: Delete current line
Insert: Switch to "insert mode", insert at any position (automatically overwrite existing content)
Ctrl + Home and Ctrl + End: Delete the cursor to the beginning or end of the line
Ctrl + Z: End of line mark (the content after the symbol will be automatically ignored)
Obviously, use shortcut The way to copy and paste in the command prompt is a very popular enhancement in Win10.
command history
command prompt characters will automatically record all historical operating record of this session to start the execution, you can easily call:
F3: Repeat the previous command
↑ or ↓ key: switch between the previous or next command
→ key or F1: present the last executed command character by character
F7: List current command history, select with ↑ ↓ key
Alt + F7: Clear command history
F8: Press the current input character, one by one Switching matches in previously executed commands
Ctrl + C: Forcibly aborting the current input line or executing command
The effect after using the above command has no direct effect on Windows native. Use cautiously in CMD.
Solution 1: 1, hold down win + X key or use the right mouse button to click the win icon in the low
The official version of the Win10 system has not yet been released, but the current version has basi
At present, the Win10 system is a thing that the Edge browser coexists with the IE browser, so users
After upgrading from Win7 and Win8.1 to Win10, many users will sigh the system is clean and fresh, b
Win10 system office 2010 word no menu how to solve
Win10 Windows function can not be installed IE11 browser how to do
How to open Win10 9879 member center function
Win10 system uninstalls 360 two methods
Where is the Win10 offline map?
Win10 Build 10122 can not be activated how to do
Win10 system how to add dial-up connection desktop shortcut
What if Win10 can't run old games?
How does Win10 prohibit IE11 browser from automatically updating
The default language of the computer housekeeper Win10 detection system does not pass the
After upgrading Win10 14295, the mouse appears to be beating and there is an abnormal sound solution
Two monitors simultaneously use one movie to watch a job (2)
Windows 7 - Fertile soil for accelerator growth
Using upgraded graphics driver to solve win 8 flower screen problem
How to set up and cancel dial-up connection under XP to automatically dial
It's more convenient to use temporary Internet files.
Mobile hard disk installation windows8 system detailed graphic tutorial