Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My current technique is to right-click in the command prompt and then click paste. This bugs me - is there a better way?

share|improve this question
    
Just out of curiosity, does anyone know why they didn't just add support for a control-v paste command? –  Shane Wealti Nov 2 '11 at 13:59

4 Answers 4

up vote 7 down vote accepted

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

From here.

share|improve this answer

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 
share|improve this answer

alt+space+E+P should do it

share|improve this answer

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! :))

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.