Sign in to follow this  
Followers 0
Starstar

How can i disconnect a (WAN Miniport)PPPoE Connection?

4 posts in this topic

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."

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

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."

Share this post


Link to post
Share on other sites

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."

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0