source: main/tags/2.35a/gsdl/setup.bat@ 33178

Last change on this file since 33178 was 2536, checked in by sjboddie, 23 years ago

altered setup.bat slightly to print a warning in situations where it might
fail - this is mostly a precaution against changes in future versions of
windows

  • Property svn:mime-type set to application/octet-stream
File size: 622 bytes
Line 
1@echo off
2set GSDLHOME=**GSDLHOME**
3set GSDLOS=windows
4if "%OS%" == "Windows_NT" goto WinNT
5if "%OS%" == "" goto Win95
6echo Setup failed - your PATH has not been set
7goto End
8
9:WinNT
10set PATH=%PATH%;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script
11goto Success
12
13:Win95
14set PATH="%PATH%";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script"
15
16:Success
17echo Your environment has successfully been set up to run Greentone.
18echo Note that these settings will only have effect within this MS-DOS
19echo session. You will therefore need to rerun setup.bat if you want
20echo to run Greenstone programs from a different MS-DOS session.
21
22:End
Note: See TracBrowser for help on using the repository browser.