WoodGrain Posted October 28, 2005 Share Posted October 28, 2005 Hi all, I'd like to know if any one knows how to start up an internet connection from the network control panel. At this stage I've created a nasty work around - below. If anyone know how to run this PPPoE dial up connection directly, it'd be appreciated. $val = Chr(34) $strRun = $val & "U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk" & $val Send("#r") WinWaitActive("Run") Send($strRun) Send("{ENTER}") Thanks Link to comment Share on other sites More sharing options...
CyberSlug Posted October 28, 2005 Share Posted October 28, 2005 RasDial on Windows XP:some links Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig! Link to comment Share on other sites More sharing options...
hankjrfan Posted October 28, 2005 Share Posted October 28, 2005 (edited) Hi all,I'd like to know if any one knows how to start up an internet connection from the network control panel.At this stage I've created a nasty work around - below.If anyone know how to run this PPPoE dial up connection directly, it'd be appreciated.$val = Chr(34) $strRun = $val & "U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk" & $val Send("#r") WinWaitActive("Run") Send($strRun) Send("{ENTER}")ThanksI would suggest trying this.Run(@ComSpec & " /c " & '"U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk"',"",@SW_HIDE)OrRun(@ComSpec & " /c " & 'start "U:\abc\AutoIt\Scripts\Connect to AlwaysOnline.lnk"',"",@SW_HIDE)I can't remember whether or not you need start with .lnk files. Edited October 28, 2005 by hankjrfan Link to comment Share on other sites More sharing options...
WoodGrain Posted October 29, 2005 Author Share Posted October 29, 2005 RasDial on Windows XP:some linksThanks.I found this page on the MS site for Win2000:http://www.microsoft.com/windows2000/en/se...elp/rasdial.htmI'll try it on Monday. 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