source: trunk/gsdl/setup.bat@ 2939

Last change on this file since 2939 was 2908, checked in by sjboddie, 22 years ago

Added bin\windows\perl\bin to path on Windows as perl may now be packaged
up with Greenstone distributions.

  • Property svn:mime-type set to application/octet-stream
File size: 688 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.