Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Mark Ord Subject: Re: activating a dial-up connection from cygwin Date: Sat, 26 Jul 2003 16:43:05 +0000 (UTC) Lines: 32 Message-ID: References: <0d1001c352b5$3e6328f0$6c0aa8c0 AT adexainc DOT com> <7cg2ivo56t2dqc91b57gcjnom7qvjk964u AT 4ax DOT com> Reply-To: ord AT alphalink DOT com DOT au X-Complaints-To: usenet AT main DOT gmane DOT org User-Agent: tin/1.4.7-20030322 ("Suggestions") (UNIX) (CYGWIN_98-4.10/1.3.22(0.78/3/2) (i686)) Sam Edge wrote: > It's a built-in in NT, 2k and (I think) XP and works fine for me from > CMD.EXE or bash. > There's a freeware (or perhaps shareware) version available for 9x/Me > as well. You'll have to Google for that. In 9x you can use rnaui.dll the way Explorer does when you're in the Dial Up Networking Folder: rundll32 c:\windows\system\rnaui.dll,RnaDial where is the name of the DUN profile. I've been using the following for quite a while now on Win98SE: alias dial "start rundll32 c:\\windows\\system\\rnaui.dll,RnaDial " Note that can have spaces, the RnaDial function seems to handle it as one arg without explicitly making it one arg by quoting it. The other option (which I used to begin with, before tracing how Explorer does it) is to make a shortcut to the profile and use start.exe to launch it. But I prefer calling the DLL directly. FWIW, Mark. -- Mark Ord | I tried my best, tried to forget, Melbourne, Australia | that you're a bad habit, just like a mailto://ord AT alphalink DOT com DOT au | cigarette. http://www.alphalink.com.au/~ord/home/ | "Spark" - Jesse Valenzuela - -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/