How do I paste into the Windows CMD prompt by using only the keyboard?
By Jessica Wood •
My current technique is to right-click in the command prompt and then click paste. This bugs me - is there a better way?
15 Answers
Its not amazingly user friendly, but you can paste with ALT+Space, e, p.
From here.
This was solved on Server Fault:
0I personally use a little AutoHotkey script to remap certain keyboard functions, for the console window (CMD) I use:>
; Redefine only when the active window is a console window #IfWinActive ahk_class ConsoleWindowClass> ; Close Command Window with Ctrl+w $^w:: WinGetTitle sTitle If (InStr(sTitle, "-")=0) { Send EXIT{Enter} } else { Send ^w } return ; Ctrl+up / Down to scroll command window back and forward ^Up:: Send {WheelUp} return ^Down:: Send {WheelDown} return ; Paste in command window ^V:: ; Spanish menu (Editar->Pegar, I suppose English version is the same, Edit->Paste) Send !{Space}ep return #IfWinActive
alt+space+E+P should do it
Control and V, like the rest of the OS :P
#IfWinActive, ahk_class ConsoleWindowClass
^v:: Send !{Space}ep
#IfWinActive(Yep, that's just automating the previous answers, but automating them it is. Autohotkey! :))
On Windows 10, you can enable Ctrl + C and Ctrl + V to work in the command prompt:
More in general
"Zoraya ter Beek, age 29, just died by assisted suicide in the Netherlands. She was physically healthy, but psychologically depressed. It's an abomination that an entire society would actively facilitate, even encourage, someone ending their own life because they had no hope. Th…"