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

  • Just out of curiosity, does anyone know why they didn't just add support for a control-v paste command? Commented Nov 2, 2011 at 13:59

6 Answers 6


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

From here.


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
WinGetTitle sTitle
If (InStr(sTitle, "-")=0) { 
    Send EXIT{Enter}
} else {
    Send ^w


; Ctrl+up / Down to scroll command window back and forward
Send {WheelUp}

Send {WheelDown}

; Paste in command window
; Spanish menu (Editar->Pegar, I suppose English version is the same, Edit->Paste)
Send !{Space}ep


alt+space+E+P should do it


On Windows 10, you can enable Ctrl + C and Ctrl + V to work in the command prompt:

enter image description here

enter image description here

  • Your screenshots are incorrect, you don't seem to be in windows 10, it seems to be windows 8/8.1.
    – Wasif
    Commented Sep 17, 2020 at 1:43
  • @WasifHasan same location on Windows 10. Commented Sep 17, 2020 at 1:49
  • It's in options TAB in my Windows 10 .. Commented Jun 13 at 12:25

Control and V, like the rest of the OS :P

#IfWinActive, ahk_class ConsoleWindowClass
^v:: Send !{Space}ep

(Yep, that's just automating the previous answers, but automating them it is. Autohotkey! :))


If you're wanting to pipe lots of clipboard text into another program, you can use PowerShell's Get-Clipboard nowadays.

powershell Get-Clipboard | more

(To copy text, you can pipe it into clip, which is supported directly in cmd.)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .