| 1 |
@echo off |
|---|
| 2 |
set GSDLLANG=en |
|---|
| 3 |
|
|---|
| 4 |
if "%OS%" == "Windows_NT" goto WinNT |
|---|
| 5 |
if "%OS%" == "" goto Win95 |
|---|
| 6 |
if "%GSDLLANG%" == "en" echo Setup failed - your PATH has not been set |
|---|
| 7 |
if "%GSDLLANG%" == "es" echo No se pudo realizar la configuraci¢n - no se ha establecido la RUTA. |
|---|
| 8 |
if "%GSDLLANG%" == "fr" echo Echc de l'installation - votre variable PATH n'a pas t ajuste |
|---|
| 9 |
if "%GSDLLANG%" == "ru" echo áâ ®¢ª ¥ 〠« áì - ¥ ¡ë« ãáâ ®¢«¥ |
|---|
| 10 |
goto End |
|---|
| 11 |
|
|---|
| 12 |
:WinNT |
|---|
| 13 |
set GSDLHOME=@gsdlhome@ |
|---|
| 14 |
set GSDLOS=windows |
|---|
| 15 |
set PATH=%GSDLHOME%\bin\windows\perl\bin;%GSDLHOME%\bin\windows;%GSDLHOME%\bin\script;%PATH% |
|---|
| 16 |
goto Success |
|---|
| 17 |
|
|---|
| 18 |
:Win95 |
|---|
| 19 |
if "%1" == "SetEnv" goto Win95Env |
|---|
| 20 |
REM We'll invoke a second copy of the command processor to make |
|---|
| 21 |
REM sure there's enough environment space |
|---|
| 22 |
COMMAND /E:2048 /K %0 SetEnv |
|---|
| 23 |
goto End |
|---|
| 24 |
|
|---|
| 25 |
:Win95Env |
|---|
| 26 |
set GSDLHOME=@gsdlhome@ |
|---|
| 27 |
set GSDLOS=windows |
|---|
| 28 |
set PATH="%GSDLHOME%\bin\windows\perl\bin";"%GSDLHOME%\bin\windows";"%GSDLHOME%\bin\script";"%PATH%" |
|---|
| 29 |
|
|---|
| 30 |
:Success |
|---|
| 31 |
if "%GSDLLANG%" == "en" echo Your environment has successfully been set up to run Greenstone. |
|---|
| 32 |
if "%GSDLLANG%" == "en" echo Note that these settings will only have effect within this MS-DOS |
|---|
| 33 |
if "%GSDLLANG%" == "en" echo session. You will therefore need to rerun setup.bat if you want |
|---|
| 34 |
if "%GSDLLANG%" == "en" echo to run Greenstone programs from a different MS-DOS session. |
|---|
| 35 |
|
|---|
| 36 |
if "%GSDLLANG%" == "es" echo Su ambiente ha sido configurado para correr los programas Greenstone. |
|---|
| 37 |
if "%GSDLLANG%" == "es" echo Recuerde que estos ajustes £nicamente tendr n efecto dentro de esta sesi¢n |
|---|
| 38 |
if "%GSDLLANG%" == "es" echo MS-DOS. Por lo tanto deber ejecutar nuevamente setup.bat si desea |
|---|
| 39 |
if "%GSDLLANG%" == "es" echo correr los programas de Greenstone desde una sesi¢n MS-DOS diferente. |
|---|
| 40 |
|
|---|
| 41 |
if "%GSDLLANG%" == "fr" echo Votre environnement a t configure avec succs pour excuter Greenstone |
|---|
| 42 |
if "%GSDLLANG%" == "fr" echo Notez que ces paramtrages n'auront d'effet que dans cette session MS-DOS. |
|---|
| 43 |
if "%GSDLLANG%" == "fr" echo Vous devrez par consquent rexcuter setup.bat si vous voulez faire |
|---|
| 44 |
if "%GSDLLANG%" == "fr" echo lancer des programmes Greenstone dans une autre session MS-DOS. |
|---|
| 45 |
|
|---|
| 46 |
if "%GSDLLANG%" == "ru" echo è¥ ®ªàãŠ¥š¥ ¡ë«® ãá¯¥è® áâ஥®, ç⮡ë ãáâ ®¢šâì Greenstone ¡à âšâ¥ |
|---|
| 47 |
if "%GSDLLANG%" == "ru" echo ¢š¬ š¥, çâ® íâš § ç¥šï ¡ã€ãâ ⮫쪮 š¬¥âì íä䥪⠢ ¯à¥€¥« å í⮣® MS DOS |
|---|
| 48 |
if "%GSDLLANG%" == "ru" echo á¥áášï. ë ¡ã€¥â¥ ¯®í⮬㠀®«Šë ¯®¢â®à® ã¯à ¢«ïâì setup.bat, ¥á«š ë å®âšâ¥ |
|---|
| 49 |
if "%GSDLLANG%" == "ru" echo ã¯à ¢«ïâì ¯à®£à ¬¬ ¬š ¥«ñëå š§¢¥àŠ¥ëå ¯®à®€ ®â à §«šç®© á¥áášš MS DOS. |
|---|
| 50 |
|
|---|
| 51 |
:End |
|---|