Ctrl+V in cmd
Ctrl+V in cmd
http://blog.tremblay.pro/2014/04/ctrlv-in-cmd.html
Ctrl+V in cmd
01 Apr 2014I've been using this for a while in fact but thought it was useful enough to be told.
A really annoying thing on Windows is that you can't Ctrl+V in a cmd. You can anywhere else but not there.
A nice piece of software named AutoHotkey can solve this. It allows you to script (in a strange language sadly) hot keys anywhere in Windows.
For Ctrl+V, the following script does the trick:
UPDATE: In fact SendIput has encoding issue. So I'm now using Send !{Space}ep which simulate an access to the system menu and then select the paste by typing 'e' and 'p'. Not that is works in English. You might have to change the letters to fit your OS language.
A really annoying thing on Windows is that you can't Ctrl+V in a cmd. You can anywhere else but not there.
A nice piece of software named AutoHotkey can solve this. It allows you to script (in a strange language sadly) hot keys anywhere in Windows.
For Ctrl+V, the following script does the trick:
#IfWinActive ahk_class ConsoleWindowClass
^V::
SendInput {Raw}%clipboard%
return
#IfWinActive
UPDATE: In fact SendIput has encoding issue. So I'm now using Send !{Space}ep which simulate an access to the system menu and then select the paste by typing 'e' and 'p'. Not that is works in English. You might have to change the letters to fit your OS language.
【推荐】还在用 ECharts 开发大屏?试试这款永久免费的开源 BI 工具!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步