This article covers many of the undocumented Remote Access Phonebook (RASPHONE) command line options and the differences between RASDIAL and RASPHONE.
RASDIAL.EXE provides unattended dialing. It does not support the following features available in RASPHONE.EXE: prefix/suffix, auto-redial, change password, retry authentication, statistics, operator assisted dialing, and connections requiring Terminal mode input.
To configure RASPHONE so that the RASPHONE Port Status dialog box is displayed on the desktop:
- From a Windows NT Command Prompt, run RASPHONE.
- Make a connection to <entry>
- Exit RASPHONE leaving connection up
- From a Windows NT Command Prompt, run RASPHONE with the -S switch. For example, type RASPHONE -s <entry> and then press ENTER.
rasphone -d <entry>You can put the icon in your Start Up group if you want to automatically dial when you log on.
The following RASPHONE command line options are not documented elsewhere, and are not guaranteed to work in future releases.
Usage: rasphone [[[-e|c|r|d|h|s|q] entry]|-a] [-f file]
-e Edit phonebook entry mode
-c Clone phonebook entry mode
-r Remove phonebook entry mode
-d Dial entry mode
-h HangUp entry mode
-s Status entry mode
-q prompt user before entering Dial entry mode
entry entry name
-a Add phonebook entry mode
-f file Full path for the phonebook
Running RASPHONE <ENTRY> without a switch is the same as running RASPHONE, highlighting the entry name, and choosing Dial.
Using WinExec() or CreateProcess() and the -a, -e, -c, and -r switches, you can open RASPHONE dialogs from another applications.
Article ID: 125393 - Last Review: Feb 19, 2007 - Revision: 1