Redirecting output to email
Posted
by
Alpha
on Super User
See other posts from Super User
or by Alpha
Published on 2012-09-11T15:40:24Z
Indexed on
2012/09/11
15:40 UTC
Read the original article
Hit count: 195
I am aware that in Windows you can use the following snippet to redirect the output of a command line tool to the clipboard:
mytool | clip
Also, it can be done with files:
clip < myFile.txt
I also know Windows has several other devices you can use as output / input for these redirections (probably the printer is the most famous of them).
However, is there something to send the text to the default email program?
I would love to find that there is something like: mytool | email
. Is there something alike?
© Super User or respective owner