Jump to content

Recommended Posts

Posted

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

Posted

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.

Posted (edited)

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

Edited by weaponx
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
Posted

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

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
×
×
  • Create New...