17

Possible Duplicate:
Keyboard shortcut to paste clipboard content into command prompt window (Win XP)

Is there a keystroke command for pasting in the Windows command console? CTRL+V does not work. The only thing that works is right click with the mouse and paste, but it is not efficient to transition from the keyboard to the mouse.

Mwiza
  • 7,780
  • 3
  • 46
  • 42
BrokeMyLegBiking
  • 5,898
  • 14
  • 51
  • 66
  • 2
    Not sure this really belongs on SO, but have you tried "Alt+Space E P" (navigates through the system menu to the edit->paste option). A PITA, but better than the mouse. – Drew Hall Mar 08 '11 at 04:17
  • And the above question is the first link on a Google search for windows command prompt paste shortcut. – Rasika Mar 08 '11 at 04:22
  • On Windows 10, you can enable Ctrl+C and Ctrl+V in cmd.exe, see http://stackoverflow.com/a/31506358/395857 – Franck Dernoncourt Jul 19 '15 at 22:20
  • Man, I just searched for a similar thing. Here's my answer to save time for whoever else is interested: http://stackoverflow.com/a/40419159/843732 and btw, whoever marks these questions as duplicates, this is the first hit from Google. – c00000fd Nov 04 '16 at 09:37
  • Sadly the edit options don't exist on Win7 – Thielicious Jan 08 '20 at 09:56

3 Answers3

13

If you enable "Quick edit mode" then you can paste by right clicking with the mouse anywhere in the window - its not as quick as a shortcut key, but its quicker than the context menu.

To enable quick edit mode right click on the window border and select properties, on the resulting properties dialog make sure that "Quick edit mode" is selected and press OK:

Screenshot of the properties dialog

Justin
  • 84,773
  • 49
  • 224
  • 367
2

Keyboard shortcut to paste clipboard content into command prompt window (Win XP)

It's already been asked and answered there

Community
  • 1
  • 1
Rasika
  • 1,980
  • 13
  • 19
  • Beautiful! Thanks so much for pointing me to this answer. I've been searching for this trick for a long time, this is fantastic. My brain thanks you as it will have to waste fewer cycles on transitioning from keyboard to mouse. – BrokeMyLegBiking Mar 08 '11 at 04:30
  • That's actually a horrid hack that really isn't a substitute. I wouldn't call this a duplicate. – William Gunn Nov 07 '14 at 23:11
0

If you are using PowerShell, merely right-clicking in the console window will paste whatever is in the clipboard. I know that's not quite what you are asking, but I still find it useful.

Christopher Bennage
  • 2,578
  • 2
  • 22
  • 32