PRB: Error: Genpd.exe is not a FoxPro EXE file

Last reviewed: February 18, 1998
Article ID: Q126138
2.60a MS-DOS kbenv kbprb kberrmsg

The information in this article applies to:

  • Microsoft FoxPro for MS-DOS, version 2.6a

SYMPTOMS

After patching FoxPro for MS-DOS from version 2.6 to version 2.6a, you run Printer Driver Setup and receive this error:

   <drive>:\<path>Genpd.exe is not a FoxPro EXE file.

CAUSE

The GENPD.EXE patch file remained in the <drive>:\FPD26 directory after the patch was applied.

RESOLUTION

Exit from FoxPro. Then delete, rename, or move the GENPD.EXE patch file.

MORE INFORMATION

Steps to Reproduce Behavior

  1. Download the version 2.6a GENPD.EXE patch file, and place it in the FPD26 directory.

  2. From the File menu, choose Printer Setup.

  3. Select the Printer Driver Setup check box.

  4. Notice the "<drive>:\FPD26\Genpd.exe is not a FoxPro EXE file" error message.

Additional Notes

FoxPro sets the _GENPD system memory variable to the following when FoxPro starts:

   <drive>:\FPD26\Genpd.exe

You must reset it to this:

   <drive>:\FPD26\Genpd.app

This makes it possible to call Genpd.app. Resetting this allows normal operation for the current FoxPro session, but exiting and restarting FoxPro will reset _GENPD back to Genpd.exe unless Genpd.exe is renamed or deleted.

All of the patch files are automatically deleted if the DELETE parameter is passed on the command line when DOPATCH.BAT is executed.

Dopatch.bat notes that the patch file Gens.exe must be deleted to allow FoxPro to function correctly, but it makes no mention of Genpd.exe other than to say it is permissible to delete it along with the other patch files.

For more information about the location of FoxPro patch files, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q102893
   TITLE     : Location of 2.6a Patch Files for FoxPro 2.6


Additional reference words: FoxDos 2.60a errmsg err msg
KBCategory: kbenv kbprb kberrmsg
KBSubcategory: FxotherGeneral


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