After using Windows Vista, I wondered if it was still possible to connect to internet via VPN (Virtual Private Network) or DUN (Dial-Up Networking) though the command line. Well, it works just like before in XP.
The command for connecting is (replace name with the name of the connection):
rasphone.exe -t "name"
The command for disconnecting is:
rasphone.exe -h "name"