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

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