Jump to content

ERROR WITH RUNWAIT


Recommended Posts

trying to do a runwait ("netsh inter ip delete wins ""Local Area Connection"" all")

but it keeps having errors and one set of "" must be around the Local Area Connection so it works right in dos window...

Is there another way of doing this thats correct ???

Thanks

Link to comment
Share on other sites

runwait ('netsh inter ip delete wins "Local Area Connection" all', @ScriptDir)

runwait ('netsh inter ip delete wins "Local Area Connection" all', @ScriptDir)

The directory name is invalid.

Nope.... Doesn't work either

I'm trying to remove the WINS server if anyone knows of a way for it to work please let me know.. I can run it from the dos prompt but not through AutoIT

Edited by Ghost21
Link to comment
Share on other sites

runwait ('netsh inter ip delete wins "Local Area Connection" all', @ScriptDir)

The directory name is invalid.

Nope.... Doesn't work either

I'm trying to remove the WINS server if anyone knows of a way for it to work please let me know.. I can run it from the dos prompt but not through AutoIT

OK so if I have RunAsSet etc. first..

then the run wait command the run wait command errors ????/

as soon as I took out the RunasSEt it worked...

REASON??????

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
 Share

  • Recently Browsing   0 members

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