Starstar Posted April 20, 2013 Posted April 20, 2013 How can i disconnect a PPPoE(WAN Miniport) Connection from network connections? Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."
stormbreaker Posted April 20, 2013 Posted April 20, 2013 So, we still have people here, who want to do the tasks the hard way.How can i disconnect a PPPoE(WAN Miniport) Connection from network connections?Rather than using Network Connections, I would use rasdial utitliy from the command-line (or of course AutoIt). Check this out: http://techstroke.com/connect-disconnect-pppoe-or-dial-up-using-command-line-or-batch-scripting/I'm sure you know about Run() and ShellExecute() functions etc.Good luck. ---------------------------------------- :bye: Hey there, was I helpful? ---------------------------------------- My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1
Starstar Posted April 20, 2013 Author Posted April 20, 2013 thanks MKISH and i know the use of run shellExecute send controlsend controlclicks and another things like while swith case if etc... Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."
Solution Starstar Posted April 20, 2013 Author Solution Posted April 20, 2013 not tested $PPPoE_Name = "BSNL" Run("rasdial "&$PPPoE_Name&" /disconnect") Life is like a coin. You can spend it Anyway as you wish and for your kind information. "you can spend it only once."
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