Jump to content
Sign in to follow this  

_Rundos ??? Click and help me...

Recommended Posts


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

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

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.