Friday, 15 September 2017

windows - Select text across lines in cmd.exe?


Is there a way to select text across lines as a single line in the Windows command prompt? For example, selecting this rectangular selection:


alt text


puts two separate lines in the clipboard, even though the lines are contiguous. Doing the same thing in xterm on Linux will put one line on the clipboard, which is what I want. Is there a way to get cmd.exe to behave like xterm?



Answer



There is a way to select the line of text as one single line. Before right clicking on the white highlighted area hold down the shift key, then right click the white area. This will remove the carriage returns.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...