Windows command line tool to copy console window content.
...Tab stop characters are replaced with spaces like in the console window. Trailing whitespaces are stripped. The tool copies the content between the beginning of the window buffer (top left corner) and the current position of the text cursor.