The Computer Oracle

How can you select text in a windows command prompt without using the mouse?

--------------------------------------------------
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------

Music by Eric Matyas
https://www.soundimage.org
Track title: Music Box Puzzles

--

Chapters
00:00 How Can You Select Text In A Windows Command Prompt Without Using The Mouse?
00:30 Accepted Answer Score 10
00:53 Answer 2 Score 7
01:02 Answer 3 Score 4
01:22 Answer 4 Score 0
01:44 Thank you

--

Full question
https://superuser.com/questions/162552/h...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows #commandline #keyboardshortcuts

#avk47



ACCEPTED ANSWER

Score 10


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




ANSWER 2

Score 7


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




ANSWER 3

Score 4


Please be aware, that ALT+Space > E > M only works on English locales of Windows. In other language versions the letters after the ALT+Space can differ. e.g. on a German version of Windows have to press ALT+SPACE > B > M




ANSWER 4

Score 0


Here's what works for me on Windows 10 v1909: CtrlM or Top-left icon (or AltSpace) > Edit (E) > Mark (K).

Then, you can select text holding Shift and pressing arrow keys.

Screenshot: Icon > Edit > Mark