RASPHONE and RASDIAL: Tips and Differences


This article covers many of the undocumented Remote Access Phonebook (RASPHONE) command line options and the differences between RASDIAL and RASPHONE.

More Information

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:

  1. From a Windows NT Command Prompt, run RASPHONE.
  2. Make a connection to <entry>
  3. Exit RASPHONE leaving connection up
  4. From a Windows NT Command Prompt, run RASPHONE with the -S switch. For example, type RASPHONE -s <entry> and then press ENTER.
To Create a RASPHONE Program Manager Program Icon to automatically dial, create a new icon and give it following command line:

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.


ID članka: 125393 – Zadnji pregled: 19. feb. 2007 – Revizija: 1

Povratne informacije