RUNNING WINDOWS MANAGER FOR GHS UNDER WINDOWS NT

The version 6.70 release of GHS includes a batch file called SETUPNT.BAT, which causes GHS to run using the Windows NT FORCEDOS command. If this is not done, Windows NT assumes GHS.EXE is an OS/2 program, and gives the error:
The file C:\GHS\GHS.EXE has a bad executable format.
SETUPNT gets around this problem by renaming GHS.EXE to ~GHS.EXE, and creating a batch file GHS.BAT which runs "FORCEDOS ~GHS.EXE".
However, this method fails to work with Windows Manager for GHS. One solution is to edit the file C:\WINNT\System32\CONFIG.NT and fix the line which reads:
REM DOSONLY
Delete the comment mark "REM" so the line reads:
DOSONLY
Save CONFIG.NT as a text file and exit your editor.
Now, right-click on the file "ghs.pif" in your "Windows Manager for GHS v3" directory. (Note that this file "ghs.pif" may show up simply as "ghs" in your Windows Explorer listing.) Choose Properties from the drop-down menu and select the Program tab. Change the Cmd line item from "GHS.EXE" to "~GHS.EXE" and press Enter.
Windows Manager for GHS should now work properly.

Previous document Back