Microsoft KB Archive/100568

From BetaArchive Wiki

SET DEFAULT TO Doesn't Restore Startup Directory

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


Last Reviewed: June 27, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.