Ghost21 Posted August 17, 2007 Share Posted August 17, 2007 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 More sharing options...
Zedna Posted August 17, 2007 Share Posted August 17, 2007 runwait ('netsh inter ip delete wins "Local Area Connection" all') Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
Ghost21 Posted August 17, 2007 Author Share Posted August 17, 2007 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. Link to comment Share on other sites More sharing options...
weaponx Posted August 17, 2007 Share Posted August 17, 2007 (edited) runwait ('netsh inter ip delete wins "Local Area Connection" all', @ScriptDir) Edited August 17, 2007 by weaponx Link to comment Share on other sites More sharing options...
Ghost21 Posted August 17, 2007 Author Share Posted August 17, 2007 (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 eitherI'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 August 17, 2007 by Ghost21 Link to comment Share on other sites More sharing options...
Ghost21 Posted August 17, 2007 Author Share Posted August 17, 2007 runwait ('netsh inter ip delete wins "Local Area Connection" all', @ScriptDir) The directory name is invalid.Nope.... Doesn't work eitherI'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 AutoITOK 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now