home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Perseus
/
PERSEUS.iso
/
spiele
/
sony.arj
/
INSTALL.BAT
next >
Wrap
DOS Batch File
|
1992-09-21
|
3KB
|
77 lines
echo off
cls
if "%2" == "" goto Nodrive
if %1 == a: goto Driveerst
if %1 == A: goto Driveerst
if %1 == b: goto Driveerst
if %1 == B: goto Driveerst
if %1 == c: goto Driveerst
if %1 == C: goto Driveerst
if %1 == d: goto Driveerst
if %1 == D: goto Driveerst
goto Nodrive
:Driveerst
if %2 == c: goto Testcard
if %2 == C: goto Testcard
if %2 == d: goto Testcard
if %2 == D: goto Testcard
if %2 == e: goto Testcard
if %2 == E: goto Testcard
if %2 == f: goto Testcard
if %2 == F: goto Testcard
if %2 == g: goto Testcard
if %2 == G: goto Testcard
if %2 == h: goto Testcard
if %2 == H: goto Testcard
if %2 == i: goto Testcard
if %2 == I: goto Testcard
if %2 == j: goto Testcard
if %2 == J: goto Testcard
if %2 == k: goto Testcard
if %2 == K: goto Testcard
:Nodrive
echo Format: install [source drive]: [target drive]:
echo Bitte geben Sie das Laufwerk an, auf dem die Installation erfolgen soll
echo sowie das Laufwerk, von dem aus installiert wird.
echo Wenn Sie das SONY GAME von A: nach C: installieren wollen, tippen Sie
echo INSTALL A: C: [Enter]
echo │ │
echo │ │
echo │ └────────── Ziellaufwerk
echo └───────────── Quellaufwerk
goto end
:Testcard
cls
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
echo + +
echo + INSTALLATION +
echo + +
echo + Das SONY GAME wird auf Drive %2 installiert. +
echo + Dieses Programm kreiert ein Unterverzeichnis namens %2\SONY +
echo + Press Ctrl-C to break. +
echo + +
echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
pause
if exist %2\SONY\*.* goto VExists
mkdir %2\SONY
mkdir %2\SONY\GFX
goto VCopynow
:VExists
echo Das Directory SONY auf drive %2 existiert bereits.
echo Drücken Sie Ctrl-C, wenn Sie dieses Directory nicht überschreiben wollen.
pause
:VCopynow
echo Hard disk install...
copy %1\s\*.* %2\sony > NUL
%1\g\h\u %1\g\gfx %2\sony\gfx
if exist %2\sony\sony.bat goto End
%2
:Error
echo Beim Installieren des SONY GAME ist ein Fehler aufgetreten.
echo Bitte überprüfen Sie, ob Ihre Harddisk voll ist.
:End