ID: Q126138
2.60a MS-DOS kbenv kbprb kberrmsg
The information in this article applies to:
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.
The GENPD.EXE patch file remained in the <drive>:\FPD26 directory after the patch was applied.
Exit from FoxPro. Then delete, rename, or move the GENPD.EXE patch file.
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.
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
Last Reviewed: February 18, 1998