M
M
m2_viktor2015-11-19 13:25:04
cmd/bat
m2_viktor, 2015-11-19 13:25:04

How to pass stderr to another command as an argument in cmd?

Hello, the essence of the question:
I want to execute a cmd command, and if text is output to stderr, then it needs to be passed to the smtp client blat.exe as the text of the message.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem @Jump, 2015-11-19
@m2_viktor

Pipe stderr to a file 2> log.txtand specify the file as the message body for blat.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question