Microsoft KB Archive/102049

{| = PRB: "File Does Not Exist" Error Message When Exiting .EXE =
 * width="100%"|

ID: Q102049

1.02 2.00 2.50 | 2.50

MS-DOS        | WINDOWS kbprb 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:  kbprb KBSubcategory: FxnetworkGeneral Keywords         : kberrmsg FxnetworkGeneral Version          : 1.02 2.00 2.50 | 2.50 Platform         : MS-DOS WINDOWS
 * }