windows - command line tool text output -


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

Copy / paste from the command prompt is not done in standard way, so I do not want to copy / paste people from the file, it is possible to save the file to disk, but in the folder where the tool is located. Can not have access rights, so the user must configure the output file location (this can be very difficult for some users).

I was thinking of launching Notepad with some text in it, originated from the command line tool. Is this possible? any other suggestions?

you can use

after your clip, which is given above Can be downloaded from the link, you use the pipe (|) command to copy the output of the previously executed command to the clipboard.

Full details, but here are the basics with examples:

dir / h | Clip - Copy the help book for DIR command in the clipboard

tracert www.labnol.org | Clip - Trace the path from your computer to another website - The output is automatically copied to the clipboard and is not displayed on the screen.

netstat | Clip - Check that your computer is connecting to websites without your knowledge.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -