source: trunk/gsdl/setup.bat@ 3041

Last change on this file since 3041 was 3041, checked in by sjboddie, 20 years ago

Made CVS treat setup.bat as a binary file as it should always use Windows
line endings

  • Property svn:mime-type set to application/octet-stream
File size: 710 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=%GSDLHOME%\bin\windows\perl\bin;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script;%PATH%
11goto Success
12
13:Win95
14set PATH="%GSDLHOME%\bin\windows\perl\bin";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script";"%PATH%"
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.