17

I don't know why, but I hate pressing ctrl+v and getting ^V in the powershell and cmd windows.

I always do it and then I have to back space it, out find my mouse, then right click, and select paste. Grrrrrrrrrrrrrr

Is there a (free) fix to this? Some way to say, hey, I want ctrl+V to work like the other 99.999999% of the applications out there!

4
  • I'm sure that can be done with AHK ...
    – Joey
    Commented Aug 12, 2010 at 22:46
  • @Johannes - What is AHK?
    – Vaccano
    Commented Aug 15, 2010 at 4:27
  • 2
    AutoHotkey.
    – Joey
    Commented Aug 15, 2010 at 11:23
  • The way I paste into a command window is to press Alt+Space E P. Commented Jul 18, 2012 at 6:06

5 Answers 5

9

Easy with Autohotkey:

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

Save that with an "ahk" extension and run it.

1
  • I was thinking of creating a AHK for that. So thanks for doing that for me
    – user398328
    Commented Jun 4, 2015 at 13:04
5

You can turn on Quick Edit mode in CMD and Powershell, this makes right mouse click into a paste (no menu fly out).

  1. Right click on the top of your shell window (either CMD or powershell)
  2. select Properties
  3. check the box for Quick Edit.

Re do the steps but select Defaults in step 2, to make sure you will have the setting permanently.

2
  • 1
    Still needs a mouse. Which isn't very natural when working in the console. It's a non-issue on a laptop with a nipple mouse, but everywhere else it's a nuisance.
    – Joey
    Commented Aug 15, 2010 at 11:25
  • Yes, good point. Check out this for setting it up with AutoHotKey: lifehacker.com/5613776/…
    – Clint
    Commented Aug 16, 2010 at 21:48
1

You can try:

  1. Console2
  2. Powershell
  3. TCCLE the free version
2
  • 1
    Console2 nor Powershell have ctrl+v paste options (that I could find). If you know a way, please post it.
    – Vaccano
    Commented Jul 26, 2010 at 21:02
  • @Vaccano Console2 supports ctl+insert, shift+insert as copy and paste commands. They could be 'translated' to ctrl+c, ctrl+v using some Autohotkey magic. Commented Jun 19, 2011 at 18:58
1

You can use PowerShell ISE. It uses the usual Windows Shortcuts

2
  • 1
    neither ctrl + C or ctrl + V work. What are you talking about?
    – soandos
    Commented Jul 15, 2012 at 19:58
  • 1
    PowerShell ISE is a grafical PowerShell host which comes as alternative to the console host. In some server installations it is not enabled by default. It is a true part of PowerShell since version 2. It is a windows application based on WPF and uses Ctrl-C and Ctrl-V for copy and paste. Take a look at this 4sysops.com/archives/…
    – bernd_k
    Commented Jul 18, 2012 at 5:22
0

I haven't tried this but:

http://pscx.codeplex.com/

There's a command for getting clipboard:

http://pscx.codeplex.com/SourceControl/changeset/view/73549#53777

You could perhaps add this to a Ctrl+V menu item and see if it works out.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .