Enable Copy Paste in Command Prompt

If you have worked on the Windows Command Prompt that is cmd, you must aware of the copy paste problem. The Ctrl C, Ctrl V feature of Windows don’t work there and you need to paste the stuff with the help of mouse.

Well this used to happen till now but here is some way to enable the copy paste i.e. Ctrl + V feature in DOS Command Prompt also. The solution for this irritating problem is to use a quick AutoHotkey script to enable pasting from the keyboard.

Steps:

1.    Install the AutoHotKey as described in earlier post.

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

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

3.    This script uses the data copied in the clipboard to send it to the command prompt.

For detailed info on this post, visit HowtoGeek

Leave a Reply