Last change
on this file since 25530 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
|
---|
2 | set GSDLHOME=**GSDLHOME**
|
---|
3 | set GSDLOS=windows
|
---|
4 | if "%OS%" == "Windows_NT" goto WinNT
|
---|
5 | if "%OS%" == "" goto Win95
|
---|
6 | echo Setup failed - your PATH has not been set
|
---|
7 | goto End
|
---|
8 |
|
---|
9 | :WinNT
|
---|
10 | set PATH=%PATH%;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script
|
---|
11 | goto Success
|
---|
12 |
|
---|
13 | :Win95
|
---|
14 | set PATH="%PATH%";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script"
|
---|
15 |
|
---|
16 | :Success
|
---|
17 | echo Your environment has successfully been set up to run Greentone.
|
---|
18 | echo Note that these settings will only have effect within this MS-DOS
|
---|
19 | echo session. You will therefore need to rerun setup.bat if you want
|
---|
20 | echo to run Greenstone programs from a different MS-DOS session.
|
---|
21 |
|
---|
22 | :End
|
---|
Note:
See
TracBrowser
for help on using the repository browser.