RASPHONE and RASDIAL: Tips and Differences

This article was previously published under Q125393
This article has been archived. It is offered "as is" and will no longer be updated.
This article covers many of the undocumented Remote Access Phonebook(RASPHONE) command line options and the differences between RASDIAL andRASPHONE.
RASDIAL.EXE provides unattended dialing. It does not support the followingfeatures available in RASPHONE.EXE: prefix/suffix, auto-redial, changepassword, retry authentication, statistics, operator assisted dialing, andconnections requiring Terminal mode input.

To configure RASPHONE so that the RASPHONE Port Status dialog boxis 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 automaticallydial 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, youcan open RASPHONE dialogs from another applications.


Article ID: 125393 - Last Review: 12/04/2015 11:00:59 - Revision: 2.2

Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows NT Workstation 3.5, Microsoft Windows NT Workstation 4.0 Developer Edition, Microsoft Windows NT Server 3.5, Microsoft Windows NT Server 4.0 Standard Edition

  • kbnosurvey kbarchive kbnetwork KB125393