Append both standard output and standard error of command to file(batchfile)

This is a discussion on Append both standard output and standard error of command to file(batchfile) within the Windows CE forums, part of the Microsoft Windows category; Is it possible to redirect stdout and stderr to a file? Please show me how it works. Thank you Georg...

Go Back   Unix Linux Forum > Unix > Other OS > Microsoft Windows > Windows CE

FixUnix.com - Unix Linux Forums

Unix Content Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 06-25-2008, 05:44 AM
Default Append both standard output and standard error of command to file(batchfile)

Is it possible to redirect stdout and stderr to a file?
Please show me how it works.
Thank you
Georg
Reply With Quote
  #2  
Old 06-25-2008, 08:47 AM
Default Re: Append both standard output and standard error of command to file (batchfile)

schliz wrote:
> Is it possible to redirect stdout and stderr to a file?


foo.exe > output.txt 2>&1

Uli

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

Reply With Quote
  #3  
Old 08-19-2008, 09:00 AM
Default Re: Append both standard output and standard error of command to file(batchfile)

On 25 Jun., 14:47, Ulrich Eckhardt wrote:
> schliz wrote:
> > Is it possible to redirect stdout and stderr to a file?

>
> foo.exe > output.txt 2>&1
>
> Uli
>
> --
> Sator Laser GmbH
> Geschäftsführer: Thorsten Föcking, Amtsgericht Hamburg HR B62 932


Thank you.
Georg
Reply With Quote
Reply

Thread Tools


All times are GMT -5. The time now is 04:12 PM.

In an effort to better serve ads to our visitors, cookies are used on Fixunix.com. For more information, check out our Privacy Policy.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Ad Management by RedTyger