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