Jump to content

Recommended Posts

Posted

Hi,

Sorry if this is a "Noob" question but i can't get it to work -.-

in my world it's fairly simple, but what i want is to start CMD with parameters.

Func Internetsettings()
    MsgBox(48,"Pinging...")
     ShellExecute("cmd",'"Ping 127.0.0.1 -t"')
 EndFunc

Why is that not working, according to the "Help" tool this should work.

Posted

Ah perfect that works, now when i wanted to have a option to do Ipconfig too it just quits as fast as it starts up.

is there no way to set a "wait" parameter ?

ShellExecute("cmd",'/c ipconfig -wait')



or something like that ?

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