genocid Posted March 21, 2010 Share Posted March 21, 2010 hi. Do you know any script that make a PPPoE connection automatically. I looked through the help but I did not find or do not know what to look, please, I need it Link to comment Share on other sites More sharing options...
storme Posted March 21, 2010 Share Posted March 21, 2010 hi. Do you know any script that make a PPPoE connection automatically. I looked through the help but I did not find or do not know what to look, please, I need it I did a very quick search through the forum and found this. rasdial "My Isp" user pass rasdial "My Isp" /disconnect I havn't tried it but it looks about right and shoudl give you want you want. Some of my small contributions to AutoIt Browse for Folder Dialog - Automation SysTreeView32 | FileHippo Download and/or retrieve program information | Get installedpath from uninstall key in registry | RoboCopy function John Morrison aka Storm-E Link to comment Share on other sites More sharing options...
Fire Posted March 21, 2010 Share Posted March 21, 2010 Hi.You can use this way too:But before you must uncheck all checkbox from properties of PPPoE shortcut.Here is:And Then run script.(Only you need run it first time and it will create startup entry on your registry)$input=InputBox("Enter PPpOe Shotcut Name","Enter PPPoE shrtcut Name","") ;start up registry key: ; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run startup key RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run",$input,"REG_SZ","rasphone.exe -d " & $input) MsgBox(64,"Operation Done!","Operation Done Successfully!",3) Exit [size="5"] [/size] 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