With a little trial and error (mostly error:), I finally got this to work.


system ("C:\\winnt\\system32\\rasdial.exe", "MyDUNConnectionName",
"[EMAIL PROTECTED]", "password") == 0 or die "MyDie1 syscmd failed: $?";


Now, I wonder if the "normal" dialup networking error codes are returned to $?. Which I have for 95/98 but not for 2000.

It works but it's still not exactly what I had in mind originally. I wanted to open the same window that clicking on the DUN link opens.

ms



Anyone know the "proper" way to activate dialup networking on win2000? Using PERL of course. I can double click it no problem:)

When I try what used to work on 98, it fails, and locks the system up so bad that it takes a long time to shut down for a reboot.

Network and dialup connections is one of the "apps" in control panel. Past that I'm guessing...

I hope someone knows.

ms



_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to