Pages

Sunday 20 November 2016

Windows command prompt keyboard shortcuts for Windows 7, Windows 8 and Windows 10.


These are some basic cmd prompt keyboard shortcuts for windows.
For windows 7&8,
         
         KEYS:                              OPERATION
  • HomeMove the insertion point to the beginning of the current line.
  • End: Move the insertion point to the end of the current line.
  • Ctrl+Left/Right Arrow: Move the insertion point to the beginning of the previous or next word (respectively) on the current line.
  • ·  Ctrl+Up/Down Arrow: Scroll the page up or down without moving the insertion point..
  •  Shift+Left Arrow/Right Arrow: Extend current selection by one character to the left or right.
  • Shift+Ctrl+Left Arrow/Right Arrow: Extend current selection by one word to the left or right.
  •  Shift+Arrow Up/Arrow Down: Extend current selection by one line up or down. The selection extends to the same position in the previous or next line as the position of the insertion point in the current line.
  • Shift+Home: Extend current selection to the beginning of a command. Press Shift+Home again to include the path (e.g., C:\Windows\system32) in the selection.
  • Shift+End: Extend current selection tot the end of the current line.
  • Ctrl+Shift+Home/End: Extent current selection to the beginning or end of the screen buffer (respectively).
  • Shift+Page Up/Page Down: Extend current selection by one page up or down.
  • Backspace: Delete the character to the left of the insertion point.
  • Ctrl+Backspace: Delete the word to the left of the insertion point.
  • Tab: Autocomplete a folder name.
  • Escape: Delete the current line of text.
  • Insert: Toggle insertion mode. When insertion mode is on, anything you type is inserted at your current location. When it’s off, anything you type overwrites what’s already there.
  • Ctrl+Home/End: Delete text from the insertion point to the beginning or end of the current line.
  • Ctrl+Z: Marks the end of a line. Text you type after that point on that line will be ignored.
  • Up/Down Arrow: Scroll backwards and forwards through previous commands you’ve typed in the current session. You can also press F5 instead of the Up Arrow to scroll backwards through the command history.
  • Right Arrow (or F1): Recreate the previous command character by character.
  • F3: Repeat the previous command.
  •  F7: Show a history of previous commands. You can use the Up/Down arrow keys to select any command and then hit Enter to execute the command.
  • Alt+F7: Clear the command history.
  • F8: Move backward in the command history to commands matching the current command. This is useful if you want to type part of a command you’ve used several times and then scroll back in your history to find the exact command you want to repeat.
  • Ctrl+C: Abort the current line you’re typing or a command that is currently executing.
  • To copy text from a command prompt window

  1. Right-click the title bar of the command prompt window,point to Edit,and then click Mark.
  2. Click the beginning of the text you want to copy.
  3. Click and drag the cursor to select the text (or you can press and hold down the SHIFT key, and then click the end of the text you want to copy.
  4. Right-click the title bar, point to Edit, and then click Copy.
  5. Position the cursor where you want the text to be inserted.
  6. Now click Paste in Edit menu, by Right-clicking the title bar of command prompt.
  • To paste text in command prompt from clipboard
  1. Right-click the title bar of the command prompt window and click properties.
  2. Check QuickEdit Mode under the Edit Option and click Ok.
  3. Copy the text that you want to paste in the command prompt.
  4. Now simply Right-click in the command prompt window to paste the text.
  • For Windows 10,
These are some newly introduced keyboard shortcuts in Windows 10
  • Win+X and then press C: To Run the command Prompt in normal mode.
  • Win+X and then press A: Run the Command Prompt with administrative privileges.
  • Alt + Enter or( F11): Switches the Command Prompt window to fullscreen mode
  • Alt + F4: Closes the Command Prompt.
  • Ctrl + C: Copies the selected text and places it in the clipboard.
  • Ctrl + P: Pastes the clipboard contents.