Does anyone know how to select a portion of text within a windows command prompt without using a mouse? e.g. shift + left/right arrow. I have tried lots of different command prompts (cmd, powershell, cygwin, mintty) and have yet to find a shell which can do this without using a mouse. I know it's possible as I do it all the time in terminal.app on mac os x.

link|improve this question
feedback

2 Answers

up vote 1 down vote accepted

As Ignacio said however you need to ensure "QuickEdit Mode" is enabled from the CMD properties.

  1. ALT+Space -> E -> M (now in mark mode)

  2. move the pointer using arrow keys

  3. Hold shift and select the area to copy

  4. Hit Enter and it's now on the clipboard

link|improve this answer
Ignore me. Don't need QuickEdit mode – Joel Mansford Jul 12 '10 at 10:45
feedback

AltSpace, Mark, arrow keys, hold Shift, arrow keys, Enter.

link|improve this answer
"does not work in mintty" :)) – akira Jul 12 '10 at 8:52
1  
@akira: mintty probably does not use a Windows console. – Ignacio Vazquez-Abrams Jul 12 '10 at 8:56
@Ignacio Vazquez-Abrams How do you make button icons? – AndrejaKo Jul 12 '10 at 9:00
1  
@AndrejaKo: <kbd>Alt</kbd> – Ignacio Vazquez-Abrams Jul 12 '10 at 9:16
@Ignacio Vazquez-Abrams: thats what the smiley at the end was for. – akira Jul 12 '10 at 9:33
show 1 more comment
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.