RASPHONE and RASDIAL: Tips and Differences

Last reviewed: March 25, 1997
Article ID: Q125393

The information in this article applies to:

- Microsoft Windows NT Workstation version 3.5 - Microsoft Windows NT Server version 3.5

  • Microsoft Windows NT Server version 4.0
  • Microsoft Windows NT Workstation version 4.0

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>" (without the quotation marks) 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 ntras NTSrvWkst
Version : 3.5 4.0
Platform : WinNT


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 25, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.