Sign in to follow this  
Followers 0

simple cmd launcher and type in ping

4 posts in this topic

Posted · Report post

here's my sample code i use, it launch cmd, and types out ping for you
so all you have to do is type in a computer/server name, or ip address


 
Run ("C:\Windows\System32\cmd.exe")
SLEEP(100)
Send("cd{SPACE}\{ENTER}")
Send("cls{ENTER}")
Send("ping{SPACE}")
 
JScript likes this

Share this post


Link to post
Share on other sites



Posted · Report post

Very good, AutoIt is synonymous of automation!

Regards,

João Carlos.

Share this post


Link to post
Share on other sites

Posted · Report post

But we can not stay only with the internal functions, and he was creative too!

Regards,

João Carlos.

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  
Followers 0