Jump to content

Recommended Posts

Posted

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

Posted

  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 advance

The 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

Posted

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 .........

Posted
  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.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...