Sign in to follow this  
Followers 0
kctvt

_Rundos ??? Click and help me...

3 posts in this topic

I'm testing a program run cmd (DOS)

And.. this's EX on help file AU3 :

#include <Process.au3>

$rc = _RunDos("start Http://www.autoitscript.com")

Run Dos, and auto type start Http://www.autoitscript.com, then open www.autoitscript.com (1 command)

So, what about 2,3 or 10 commends ? What I have to do ?

Such as, I want to :

- Open cmd

- Then type " ipconfig"

- Enter

- Ping 192.168.1.1 -t

- Enter

- net view

- Enter

- start Http://www.google.com

- Enter

Many commands.... so, What I have to do ?

I try

#include <Process.au3>

$rc = _RunDos("ipconfig")

It run too fast, i cant see anything.

Use send key... maybe this programe runs, but I think it not good.

Share this post


Link to post
Share on other sites



Can't you just make a batch file for that?

ipconfig
ping 192.168.1.1 -t
net view
start Http://www.google.com
pause

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