source: trunk/gsdl/setup.bat@ 3809

Last change on this file since 3809 was 3809, checked in by sjboddie, 21 years ago

* empty log message *

  • Property svn:mime-type set to application/octet-stream
File size: 954 bytes
Line 
1@echo off
2if "%OS%" == "Windows_NT" goto WinNT
3if "%OS%" == "" goto Win95
4echo Setup failed - your PATH has not been set
5goto End
6
7:WinNT
8set GSDLHOME=**GSDLHOME**
9set GSDLOS=windows
10set PATH=%GSDLHOME%\bin\windows\perl\bin;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script;%PATH%
11goto Success
12
13:Win95
14if "%1" == "SetEnv" goto Win95Env
15REM We'll invoke a second copy of the command processor to make
16REM sure there's enough environment space
17COMMAND /E:2048 /K %0 SetEnv
18goto End
19
20:Win95Env
21set GSDLHOME=**GSDLHOME**
22set GSDLOS=windows
23set PATH="%GSDLHOME%\bin\windows\perl\bin";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script";"%PATH%"
24
25:Success
26echo Your environment has successfully been set up to run Greenstone.
27echo Note that these settings will only have effect within this MS-DOS
28echo session. You will therefore need to rerun setup.bat if you want
29echo to run Greenstone programs from a different MS-DOS session.
30
31:End
Note: See TracBrowser for help on using the repository browser.