Ane of the more irritating problems with the Windows command prompt is that y'all tin can't paste anything into the window using the keyboard easily—it requires using the mouse. Here'southward how to fix that trouble.

The solution, as with many Windows shortcomings, is to use a quick AutoHotkey script to enable pasting from the keyboard. What it actually does is take the clipboard contents and use the SendInput function to ship the keystrokes really quickly to the console window.

But starting time… here's some other way to practise it.

Enabling CTRL + C and CTRL + V in Windows x

All you have to do to get re-create and paste working in Windows 10 is to right-click on the control prompt's title bar, cull Properties…

And then click "Enable new Ctrl central shortcuts". You'll probably take to click the "Enable experimental console features" checkbox first though.

And at present you can copy and paste in the command prompt.

The Alternate Built-In Manner to Paste from the Keyboard (Windows ten, 8, 7, or Vista)

There is really a way to paste something using the keyboard, but information technology'south non terribly convenient to employ. What y'all'll have to exercise is use the Alt+Space keyboard combination to bring up the window carte du jour, and then hitting the E key, and then the P central. This will trigger the menus and paste into the console.

Once you get used to doing information technology, information technology actually isn't and so bad… just who wants to utilise a different combination for one awarding than the rest of Windows?

The AutoHotkey Script Ctrl+Five Awesomeness

You'll need to start make sure that you've got AutoHotkey installed, and so create a new AutoHotkey script or add the following to your existing script. We've also provided a download in case at that place are any formatting issues.

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

What this script does is simply employ the SendInput function to send the data into the window, which is a lot faster than whatever other method.

Note: the script doesn't paste line breaks very well. If you've got a better solution for that, feel complimentary to let the states know in the comments and we'll update the post.

Downloadable AutoHotkey Script

Simply grab the script, salve it anywhere, and then double-click on it to starting time it. Y'all can kill it through the tray icon if y'all want—if you lot'd like to hide the tray icon, add #NoTrayIcon to the acme of the script.

Download the PasteCommandPrompt AutoHotkey Script from howtogeek.com