Jump to content
Sign in to follow this  

How can i send a Command to "cmd"

Recommended Posts

I want to disconnect a WAN Miniport(PPPoE) i do not know about any methode in autoit that can do it.Therefore i decide do it via cmd.

$DELAY = 250
Send("rasdial BSNL /disconnect"); BSNL is the name of PPPoE Connection

There is no way to use ControlSend. because When someone change operating drive. cmd title will also changed for example ("C:\Windows\System32\cmd.exe") If drive changed ("D:Windowssystem32cmd.exe") Windows tittle is changed.

Edited by adnanbaloch

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  

  • Create New...