Microsoft KB Archive/125393

From BetaArchive Wiki
Knowledge Base


RASPHONE and RASDIAL: Tips and Differences

Article ID: 125393

Article Last Modified on 2/20/2007



APPLIES TO

  • 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



This article was previously published under Q125393


SUMMARY

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.



Additional query words: prodnt

Keywords: kbnetwork KB125393