Ctrl+V in cmd

I'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:

#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.