Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 2 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

share|improve this answer
    
Ignore me. Don't need QuickEdit mode –  Joel Mansford Jul 12 '10 at 10:45
    
This works, but is there a way to do this with the mouse? –  JohnEgbert Jun 16 at 22:22

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

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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