Sign in to follow this  
Followers 0
Ghost21

ERROR WITH RUNWAIT

6 posts in this topic

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

Share this post


Link to post
Share on other sites



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

nope...

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

The directory name is invalid.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

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

Edited by weaponx

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

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

Share this post


Link to post
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??????

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