command line tool text output

Posted by Martin on Stack Overflow See other posts from Stack Overflow or by Martin
Published on 2010-06-13T23:41:29Z Indexed on 2010/06/13 23:52 UTC
Read the original article Hit count: 265

Filed under:
|
|
|
|

I have a small command line tool and after running it, I'd like to display the text output in a way that's easy for someone to copy/paste and save it or email it to someone else.

Copy/pasting from a command prompt is not done in the standard way, so I don't want people to have to copy/paste from there. Saving the file to disk is possible, but the folder where the tool is located may not have access rights so the user would have to configure the output file location (this may be too tricky for some users).

I was thinking of launching notepad with some text in it, generated from the command line tool. Is this possible? Any other suggestions?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about text