Ghost21 Posted August 17, 2007 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
Zedna Posted August 17, 2007 Posted August 17, 2007 runwait ('netsh inter ip delete wins "Local Area Connection" all') Resources UDF ResourcesEx UDF AutoIt Forum Search
Ghost21 Posted August 17, 2007 Author 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.
weaponx Posted August 17, 2007 Posted August 17, 2007 (edited) runwait ('netsh inter ip delete wins "Local Area Connection" all', @ScriptDir) Edited August 17, 2007 by weaponx
Ghost21 Posted August 17, 2007 Author 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
Ghost21 Posted August 17, 2007 Author 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??????
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