Wednesday, August 18, 2010

How to Enable CTRL+V Paste in the Windows Command Prompt


1:55 AM |

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

Leave A Comment