SET DEFAULT TO Doesn't Restore Startup Directory

Last reviewed: June 27, 1995
Article ID: Q100568
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5 and 2.5a
  • Microsoft FoxPro for MS-DOS, versions 2.5 and 2.5a

SUMMARY

Page L3-913 in the FoxPro "Language Reference" manual incorrectly states the following:

   To restore the FoxPro startup directory, issue SET DEFAULT
   without any arguments:

      SET DEFAULT TO

Microsoft has confirmed that this documentation error occurs on Page L3-913 in the FoxPro "Language" Reference" manual.

To return to the startup directory, use must use the following command:

    SET DEFAULT TO SYS(2004)

MORE INFORMATION

Steps to Reproduce Problem

  1. After starting FoxPro, set the default directory to a different directory.

  2. Issue the SET DEFAULT TO command without any arguments.

  3. In the Command window, type:

          ? SYS(2003)
    

    This command returns the current directory FoxPro is in. Note that this directory is not the FoxPro startup directory.


Additional reference words: FoxDos FoxWin 2.50 2.50a docerr
KBCategory: kbprg kbdocerr
KBSubcategory: FxprgGeneral


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: June 27, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.