mentosan Posted May 29, 2008 Posted May 29, 2008 Hi ! How can I create a log file containing the output of my *.au3 script ? I'm running this script for a telnet session and I want output to be visible on command prompt window and as well saved into a text logfile. Please help. Thank you in advance
GeoA Posted May 29, 2008 Posted May 29, 2008 mentosan said: Hi !How can I create a log file containing the output of my *.au3 script ? I'm running this script for a telnet session and I want output to be visible on command prompt window and as well saved into a text logfile.Please help. Thank you in advanceThe quickest, easiest way I can think of would be to download tee for windows from -> http://www.chipstips.com/?p=129. Then simply >myscript.exe | tee myscript.log
mentosan Posted May 29, 2008 Author Posted May 29, 2008 Thank you for your hint but it won't help. My script will open a telnet session so I need to log the messages inside this telnet session. I thing the solution is to invoke the logfile inside the script, but i don't know how .........
Dickb Posted May 29, 2008 Posted May 29, 2008 mentosan said: Thank you for your hint but it won't help. My script will open a telnet session so I need to log the messages inside this telnet session. I thing the solution is to invoke the logfile inside the script, but i don't know how .........That is depending on the telnet program you are using. I use Putty as telnet program. It has a setting to log the telnet conversation.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now