PRB: "File Does Not Exist" Error Message When Exiting .EXE

Last reviewed: April 29, 1996
Article ID: Q102049
The information in this article applies to:
  • Microsoft FoxPro for MS-DOS, versions 1.02, 2.0, 2.5
  • Microsoft FoxPro for Windows, version 2.5

SYMPTOMS

Quitting an .EXE file works until the .EXE is run from a separate directory without being connected to the network. When you try to quit, or when FOXHELP.DBF cannot be found, the error message "File Does Not Exist" is displayed.

This problem also occurs with stand-alone machines that are not connected to a network if the MS-DOS search PATH statement in the AUTOEXEC.BAT file does not contain the FoxPro directory.

RESOLUTION

The SET HELP TO command is used to restore the environment when you quit an application. To avoid the error mentioned above, remove the SET HELP TO line from your Cleanup code before distributing your application.


Additional reference words: FoxDos FoxWin 1.02 2.00 2.50 exit
errmsg err
msg
KBCategory: kbprg kberrmsg kbprb
KBSubcategory: FxnetworkGeneral


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: April 29, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.