Doug Posted August 7, 2007 Share Posted August 7, 2007 I would like to be able to create an AutoIT script that will disable or enable a network connection or, alternatively, enable or disable the NIC that supports the network connection. Is there a single command line-type solution for this? I'm planning on recording a script for it, but a command line would be much more simple and efficient. Thanks, Doug Link to comment Share on other sites More sharing options...
evilertoaster Posted August 7, 2007 Share Posted August 7, 2007 A scripting of a utility called devcon ( http://support.microsoft.com/default.aspx?...b;EN-US;Q311272 ) should allow you to disable any device on your computer that you could have disabled with device manager Link to comment Share on other sites More sharing options...
lod3n Posted August 7, 2007 Share Posted August 7, 2007 NetSH can do this [font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font] Link to comment Share on other sites More sharing options...
L3G3NdKillEr Posted August 7, 2007 Share Posted August 7, 2007 http://www.autoitscript.com/forum/index.ph...st&p=385100see this post. i'm very responsible, when ever something goes wrong they always say I'm responsible.Life is like an Adventure... BUT COOL GRAPHICS<====================----=LEGEND KILLER=----=========================> Link to comment Share on other sites More sharing options...
Doug Posted August 7, 2007 Author Share Posted August 7, 2007 A scripting of a utility called devcon ( http://support.microsoft.com/default.aspx?...b;EN-US;Q311272 ) should allow you to disable any device on your computer that you could have disabled with device managerDEVCON works great, thanks!!!--Doug 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