How To Enable CTRL+V Paste In The Windows Command Prompt

If you hop between the regular applications and the command prompt with any frequency, the lack of CTRL+V paste is frustrating. Tweak the Windows command prompt to support keyboard-based pasting with a simple AutoHotkey script.

How-to website How-To Geek has a great AutoHotkey script that inputs the text contents of your clipboard into the console window using the familiar CTRL+V paste combo. It's a great time saver when you're doing some command-prompt judo and want to cut and paste a string of commands from a tutorial or other source.

Create a new script in AutoHotkey with the following text:

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

Check out the full article at How-To Geek for additional tips and tricks. Have a favourite AutoHotkey script? Let's hear about it in the comments.

How to Enable Ctrl+V for Pasting in the Windows Command Prompt [How-To Geek]


Be the first to comment on this story!

Trending Stories Right Now