Tech Support > Operating Systems > Windows CE > Append both standard output and standard error of command to file(batchfile)
Append both standard output and standard error of command to file(batchfile)
Posted by schliz on June 25th, 2008


Is it possible to redirect stdout and stderr to a file?
Please show me how it works.
Thank you
Georg

Posted by Ulrich Eckhardt on June 25th, 2008


schliz wrote:
foo.exe > output.txt 2>&1

Uli

--
Sator Laser GmbH
Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932



Similar Posts