34 Useful Keyboard Shortcuts for the Windows Command Prompt

Here are 34 useful keyboard shortcuts for the Windows Command Prompt:

  1. Ctrl + C: Copy selected text to the clipboard.
  2. Ctrl + V: Paste text from the clipboard.
  3. Ctrl + A: Select all text in the Command Prompt window.
  4. Ctrl + F: Search for text in the Command Prompt window.
  5. Ctrl + Up Arrow: Scroll through previous commands.
  6. Ctrl + Down Arrow: Scroll through subsequent commands.
  7. F1: Repeat the last command, one character at a time.
  8. F2: Repeat the last command up to a specified character.
  9. F3: Repeat the last command.
  10. F4: Delete a character up to a specified character.
  11. F5: Display a previously entered command from the command history.
  12. F6: Move the cursor to the next instance of a specified character.
  13. F7: Display a list of previously entered commands from the command history.
  14. F8: Display a previously entered command from the command history, one character at a time.
  15. F9: Enter a previously entered command number from the command history.
  16. Tab: Auto-complete a file or folder name.
  17. Alt + Enter: Display the properties of a file or folder.
  18. Alt + F4: Close the Command Prompt window.
  19. Alt + Spacebar: Display the system menu for the Command Prompt window.
  20. Ctrl + Break: Stop a running command.
  21. Ctrl + Shift + C: Copy selected text to the clipboard in “Mark mode.”
  22. Ctrl + Shift + V: Paste text from the clipboard in “Mark mode.”
  23. Ctrl + Shift + Arrow Keys: Select text in “Mark mode.”
  24. Ctrl + Page Up: Scroll the Command Prompt window up.
  25. Ctrl + Page Down: Scroll the Command Prompt window down.
  26. Shift + Page Up: Select text in the Command Prompt window, scrolling up.
  27. Shift + Page Down: Select text in the Command Prompt window, scrolling down.
  28. Shift + Left Arrow: Select text one character to the left.
  29. Shift + Right Arrow: Select text one character to the right.
  30. Shift + Home: Select text to the beginning of the line.
  31. Shift + End: Select text to the end of the line.
  32. Ctrl + Home: Scroll to the top of the Command Prompt window.
  33. Ctrl + End: Scroll to the bottom of the Command Prompt window.
  34. Esc: Clear the current command line.