Welcome to UnableTo.com, where you can state any issue that you are unable to perform and receive answers from other members of the community.

Unable to paste into the command line in Windows

+1 vote
I am attempting to past text intot the command line but ctl-v does not work, is there an easier way to do it besides right clicking and selecting paste?
asked 2 months ago by anonymous
edited 2 months ago by admin

2 Answers

+1 vote
 
Best answer

You are correct, there is no native way to do a ctrl-v from within the command prompt window. However using autohotkey you can enable a hotkey to do the same function. After installing autohotkey, add a few new lines (provided below) to your existing script and you will be ctrl-v, ctrl-v ing away.

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

answered 2 months ago by Usevh25431 (500 points)
0 votes
I have been unable to find any other way other than right clicking and selecting past  to copy and paste to the command prompt window
answered 2 months ago by TomBo14214 (150 points)

Related questions

0 votes
0 answers
+1 vote
1 answer
0 votes
1 answer
asked 1 month ago by anonymous