SETTING UP GHS TO RUN UNDER WINDOWS 95/98/NT

Download the Setup.zip files.

GHS-based programs need a small amount of additional set-up to run properly under the Windows NT operating system. Follow one of the instruction sections below to set up for running your specific program (either GHS, BHS, BHSY, GLM Onboard, GLM Fleet, or Windows Manager for GHS).

A. SETTING UP TO RUN GHS

From Windows Explorer, double-click the shortcut file "SETUPNT" in your GHS directory (normally C:\GHS), follow the displayed instructions, and enter "EXIT" to close the SETUPNT window. (If you are reinstalling over an earlier version of GHS NT support, you should still execute "SETUPNT" so the old version will be removed and upgraded).

Finally, set up one or more pathways for running GHS under Windows NT. If you want to run GHS from Windows Explorer, then follow instructions for "Running GHS from a shortcut". If you want to run GHS from a DOS command prompt, then follow instructions for "Running GHS from DOS". Otherwise, look at "Other ways of running GHS".

1) Running GHS from a shortcut

From Windows Explorer, copy the shortcut file "GHS" from your GHS directory to your desktop. (You can do this by holding the Ctrl key down while dragging, so the file is copied instead of moved.)

You can now run GHS simply by double-clicking on this GHS desktop icon.

(Only if your GHS directory is not C:\GHS, you'll need to right-click the GHS icon, choose Properties, click the Program tab, update directories in the Cmd Line and Working and Batch File fields, click the "Windows NT..." button, update Autoexec Filename and Config Filename fields, and click OK twice to finish. You'll also need to edit EXECGHS.BAT in your GHS directory to replace "C:\GHS" with the correct directory.)

2) Running GHS from DOS

From Windows Explorer, copy the shortcut file "GHSCMD" from your GHS directory to your desktop. (You can do this by holding the Ctrl key down while dragging, so the file is copied instead of moved.)

You can now get a DOS command prompt based in your GHS directory simply by double-clicking on this GHSCMD desktop icon, from which you can run GHS, MC, or other programs by entering their names.

(Only if your GHS directory is not C:\GHS, you'll need to right-click the GHSCMD icon and make the same modifications described above for the GHS icon.)

3) Other ways of running GHS

The default DOS command processor that comes with Windows NT (namely CMD.EXE) has a problem recognizing that GHS.EXE is not an OS/2 program, so reports "GHS.EXE has a "bad executable format" if you try to run it. For this reason, we recommend you use the provided "GHSCMD" shortcut, as described above.

However, if you need to be able to run GHS from the default NT command prompt, or need to double-click on batch files from Windows Explorer that run GHS, then enter "SETUPNT COMMAND" from the GHS directory. This gets around NT's problem by renaming GHS.EXE to ~GHS.EXE, creating a batch file GHS.BAT which causes FORCEDOS ~GHS.EXE to happen when you type GHS.

You'll also need to make sure your GHS directory is on the path. To do this, click the Start button, move your mouse over Settings, click Control Panel, double-click the System icon, and click the Environment tab. Check the User Variables table and click the variable named "Path" (if you can't find it, click "Path" in the System Variables table). Click the Value field and look for the GHS directory using the arrow keys. If you find it, click the Cancel button, because the GHS path is already set up properly.

If not, press the End key in the Value field, and enter a semicolon (";") followed by the name of your GLM program directory (normally C:\GHS). Click the Set button then the OK button to finish. Log off by pressing Ctrl-Alt-Delete followed by the Logoff button. GHS should now work properly when you next log on.

(If you've done "SETUPNT COMMAND" and also want to be able to run the "GHS" shortcut, you'll need to right-click on the GHS icon, choose Properties, click the Program tab, update the Cmd line field to ~GHS.EXE, and click OK.)

To remove "SETUPNT COMMAND" support and restore GHS to work under other operating systems besides Windows NT, enter REMOVENT from your GHS directory.

B. SETTING UP TO RUN BHS

Use the same instructions for "Setting Up To Run GHS" above, but keep in mind that "BHS" should be used everywhere in place of "GHS", as follows:

GHS Term BHS Replacement
-------- ---------------
GHS program BHS program
GHS directory BHS directory
C:\GHS C:\BHS
EXECGHS.BAT EXECBHS.BAT
shortcut file "GHS" shortcut file "BHS"
shortcut file "GHSCMD" shortcut file "BHSCMD"

C. SETTING UP TO RUN BHSY

Use the same instructions for "Setting Up To Run GHS" above, but keep in mind that "BHSY" should be used everywhere in place of "GHS", as follows:

GHS Term BHSY Replacement
-------- ----------------
GHS program BHSY program
GHS directory BHSY directory
C:\GHS C:\BHSY
EXECGHS.BAT EXECBHSY.BAT
shortcut file "GHS" shortcut file "BHSY"
shortcut file "GHSCMD" shortcut file "BHSYCMD"

D. SETTING UP TO RUN GLM - ONBOARD SYSTEMS

From Windows Explorer, copy the shortcut file "GLM" from your GLM program directory (normally C:\GLM\SYS) to your desktop. (You can do this by holding the Ctrl key down while dragging, so the file is copied instead of moved.)

You can now run GLM simply by double-clicking on this GLM desktop icon.

(Only if your GLM program directory is not C:\GLM\SYS, you'll need to right-click the GLM icon, choose Properties, click the Program tab, update directories in the Cmd Line and Working and Batch File fields, click the "Windows NT..." button, update Autoexec Filename and Config Filename fields, and click OK twice to finish. You'll also need to edit EXECGLM.BAT in your GLM program directory to replace "C:\GLM\SYS" with the correct directory.)

E. SETTING UP TO RUN GLM - FLEET SYSTEMS

From Windows Explorer, double-click the shortcut file "SETUPGLM" in your GLM program directory (normally C:\GHS), follow the displayed instructions, and enter "EXIT" to close the SETUPGLM window.

Make sure your GLM program directory is on the path. To do this, click the Start button, move your mouse over Settings, click Control Panel, double-click the System icon, and click the Environment tab. Check the User Variables table and click the variable named "Path" (if you can't find it, click "Path" in the System Variables table). Click the Value field and look for the GLM program directory using the arrow keys. If you find it, click the Cancel button; the GLM path is already set up properly.

If not, press the End key in the Value field, and enter a semicolon (";") followed by the name of your GLM program directory (normally C:\GHS). Click the Set button then the OK button to finish. Log off by pressing Ctrl-Alt-Delete followed by the Logoff button. GLM should now work properly when you next log on.

You can now run GLM for any vessel in your fleet from Windows Explorer by double-clicking on the file GLM.BAT inside the subdirectory of your GLM program directory devoted to that vessel (for example, double-click on C:\GHS\SOPHIE\GLM.BAT to run GLM for the vessel Sophie). You can also create a shortcut by holding down the Ctrl and Alt keys while dragging the vessel's GLM.BAT onto your desktop.

F. SETTING UP TO RUN WINDOWS MANAGER FOR GHS

From Windows Explorer, double-click the shortcut file "SETUPNT" in your GHS program directory, follow the displayed instructions, and enter "EXIT" to close the SETUPNT window. Then copy the shortcut file "GHS" from your GHS directory over to your "\Program Files\Windows Manager for GHS v3" directory. (You can do this by holding the Ctrl key down while dragging, so the file is copied instead of moved.) Windows Manager for GHS should now work properly.


 Previous document Back