Paste With CTRL+V In Windows Command Prompt

I often use the terminal to analyze the network or do things in both Linux and Windows. But in the command prompt or terminal on Windows you cannot copy and paste easily, especially pasting a command with Ctrl+V. To paste text or a command you have to use the mouse. And this slows me down. After doing some research I found how to do it. Now I can copy and paste with a shortcut key.

See the picture below to paste in the command prompt:

windows-command-prompt

It’s not totally convenient, is it? So I have the solution for how to paste with a shortcut key in the Windows command prompt.

Follow the steps below to paste with Ctrl+V in Windows Command Prompt:

1. Download AutoHotKey.

2. Install it and follow the wizard until it finishes.

3. Create a new AutoHotkey script or add the following to your existing script:

#IfWinActive ahk_class ConsoleWindowClass
^V::
SendInput {Raw}%clipboard%
return
#IfWinActive

4. The script will keep running until you kill the AutoHotKey process at the tray bar.

5. Now you can paste with Ctrl+V in the Windows command prompt.

Download AutoHotKey
Download Ctrl+V script