標準のWindows .cmdがファイルでは、私はやってするだけでstdoutにメッセージを送ることができます。cmdからstderrにメッセージを送信するにはどうすればよいですか?
echo message
私はstderrにメッセージを送ることができますどのように?
例:
のは、私は、スクリプトが含まparent.cmdあるとしましょう:
call child.cmd 1>>stdout.log 2>>stderr.log
と含む子:
:: Writes a message to stdout
:: (which in the parent is piped to stdout.log)
echo message
:: Now I want to write a message to stderr
:: (which in the parent is piped to stderr.log)
???