In tip 090 we used the -d switch in RASPHONE.EXE to build our own autodial.
Here are some other undocumented switches (there is no guarantee that these will exist in future releases).
(See tip 225 for the name/location of the phonebook.)
Usage: rasphone c|r|d|h|s|a\] entry \[-f file\]
Switch |
D e s c r i p t i o n |
Example |
-e |
Edit a phonebook entry |
rasphone -e MSN -f %SystemRoot%\System32\RAS\ name of phonebook |
-c |
Clone a phonebook entry |
rasphone -c MSN -f %SystemRoot%\System32\RAS\ name of phonebook |
-r |
Remove a phoneboot entry |
rasphone -r MSN -f %SystemRoot%\System32\RAS\ name of phonebook |
-d |
Dial a phonebook entry |
rasphone -d MSN |
-h |
Hangup |
rasphone -h MSN |
-s |
Raise Dial-Up Networking Monitor |
rasphone -s Note:RAS must be connected. |
-a |
Phonebook Entry Wizard |
rasphone -a XYZ -f %SystemRoot%\System32\RAS\ name of phonebook |