@echo off set GSDLHOME=**GSDLHOME** set GSDLOS=windows if "%OS%" == "Windows_NT" goto WinNT if "%OS%" == "" goto Win95 echo Setup failed - your PATH has not been set goto End :WinNT set PATH=%PATH%;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script goto Success :Win95 set PATH="%PATH%";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script" :Success echo Your environment has successfully been set up to run Greentone. echo Note that these settings will only have effect within this MS-DOS echo session. You will therefore need to rerun setup.bat if you want echo to run Greenstone programs from a different MS-DOS session. :End