How to dial using default RAS connection
TuxExplorer send me question how to dial connection using default RAS connection - I wrote small script (two liner) to do that:
For /f "usebackq tokens=1-3" %%i IN (`reg query "HKCU\Software\Microsoft\RAS AutoDial\Default" /v DefaultInternet ^| find /i "REG_SZ"`) Do If /i #%%j# EQU #REG_SZ# Set Int.DefaultRASConnection=%%k
If Defined Int.DefaultRASConnection Start RasPhone -d %Int.DefaultRASConnection%
It should work, I just connected using this script :)
Martin