How do I paste into the Windows CMD prompt by using only the keyboard?

Solution 1:

Its not amazingly user friendly, but you can paste with ALT+Space, e, p.

From here.

Solution 2:

This was solved on Server Fault:

I 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 

Solution 3:

alt+space+E+P should do it