Jump to content

CMD & Autoit

Recommended Posts


i have problem cmd telnet using autoit

when i run this telnet mx1.mail.yahoo.com 25 command using RunWait() it complete successfully


how to wait until this telnet mx1.mail.yahoo.com 25 command complete and go for next command


C:>telnet mx4.mail.yahoo.com 25 now it must wait until connection establihed after establishing connection then go for next command

MAIL FROM:<snip> now again same wait

Edited by Melba23
Link to comment
Share on other sites

I would think that this is what the stdout / stderr console commands were designed for, though I haven't personally checked / used them.

The other option would be to grab the text from the command window, parse it, and base your logic / loops on that...

If the right settings are enabled in the dos box, you can use mouse/keyboard commands to grab the text into the clipboard.

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Link to comment
Share on other sites

i tried this with a .bat file.. but could not get past the telnet command.

the .bat would run telnet and connect, and then none of the other commands were written to the screen. lol

Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Link to comment
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

  • Recently Browsing   0 members

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