Jump to content
Sign in to follow this  
everseeker

Can I re-direct Console output to a file?

Recommended Posts

everseeker

/ErrorStdOut Allows to redirect fatal error to StdOut which can be captured by an application as Scite editor. This switch can be used with a compiled script.

That's all I got from the help file... and it was not too helpful

I'd like to compile a script, with all of the ConsoleWrite commands intact, but be able to SOMEHOW read the output.... I assume that I'd need to use a file for this, ????


Everseeker

Share this post


Link to post
Share on other sites
ProgAndy

To redirect ConsoleWrite use just:

"cmd.exe /C Script.exe > t.txt"


*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Share this post


Link to post
Share on other sites
everseeker

To redirect ConsoleWrite use just:

"cmd.exe /C Script.exe > t.txt"

Short, sweet, perfect

Answers the question....

Dang, GIVE ANDY A GOLD STAR!!!

Thanks!

Woo Hoo even :)


Everseeker

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×