Here are 34 useful keyboard shortcuts for the Windows Command Prompt:
- Ctrl + C: Copy selected text to the clipboard.
- Ctrl + V: Paste text from the clipboard.
- Ctrl + A: Select all text in the Command Prompt window.
- Ctrl + F: Search for text in the Command Prompt window.
- Ctrl + Up Arrow: Scroll through previous commands.
- Ctrl + Down Arrow: Scroll through subsequent commands.
- F1: Repeat the last command, one character at a time.
- F2: Repeat the last command up to a specified character.
- F3: Repeat the last command.
- F4: Delete a character up to a specified character.
- F5: Display a previously entered command from the command history.
- F6: Move the cursor to the next instance of a specified character.
- F7: Display a list of previously entered commands from the command history.
- F8: Display a previously entered command from the command history, one character at a time.
- F9: Enter a previously entered command number from the command history.
- Tab: Auto-complete a file or folder name.
- Alt + Enter: Display the properties of a file or folder.
- Alt + F4: Close the Command Prompt window.
- Alt + Spacebar: Display the system menu for the Command Prompt window.
- Ctrl + Break: Stop a running command.
- Ctrl + Shift + C: Copy selected text to the clipboard in “Mark mode.”
- Ctrl + Shift + V: Paste text from the clipboard in “Mark mode.”
- Ctrl + Shift + Arrow Keys: Select text in “Mark mode.”
- Ctrl + Page Up: Scroll the Command Prompt window up.
- Ctrl + Page Down: Scroll the Command Prompt window down.
- Shift + Page Up: Select text in the Command Prompt window, scrolling up.
- Shift + Page Down: Select text in the Command Prompt window, scrolling down.
- Shift + Left Arrow: Select text one character to the left.
- Shift + Right Arrow: Select text one character to the right.
- Shift + Home: Select text to the beginning of the line.
- Shift + End: Select text to the end of the line.
- Ctrl + Home: Scroll to the top of the Command Prompt window.
- Ctrl + End: Scroll to the bottom of the Command Prompt window.
- Esc: Clear the current command line.