home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt: Spezial 1
/
CDD_SPIELE_.ISO
/
wingames
/
skat2010
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-03-11
|
2KB
|
87 lines
echo off
cls
if "%1" == "" goto KEINLAUFWERK
if %1 == c: goto MKDIR
if %1 == C: goto MKDIR
if %1 == d: goto MKDIR
if %1 == D: goto MKDIR
if %1 == e: goto MKDIR
if %1 == E: goto MKDIR
if %1 == f: goto MKDIR
if %1 == F: goto MKDIR
if %1 == g: goto MKDIR
if %1 == G: goto MKDIR
if %1 == h: goto MKDIR
if %1 == H: goto MKDIR
if %1 == i: goto MKDIR
if %1 == I: goto MKDIR
echo "%1" ist eine ungueltige Laufwerksangabe.
echo Bitte geben Sie das Installations-Laufwerk an.
echo Beispiel : install c:
pause
goto End
:KEINLAUFWERK
echo Bitte geben Sie ein Installations-Laufwerk an.
echo Beispiel : install c:
pause
goto End
:MKDIR
cls
echo ╔═══════════════════════════════════════════════════╗
echo ║ ║
echo ║ Installation Skat 2010 ║
echo ║ ║
echo ╚═══════════════════════════════════════════════════╝
echo
rem pause
rem echo
if exist %1\skat2010\*.* goto DIREXIST
mkdir %1\skat2010
goto COPYFILES
:DIREXIST
echo WARNUNG: Verzeichnis %1\SKAT2010 besteht bereits.
echo Druecken Sie Ctrl-C um die Daten nicht zu ueberschreiben.
echo
pause
echo
:COPYFILES
echo Kopiere Dateien nach %1\SKAT2010...
copy *.* %1\skat2010 > NUL
cls
echo ╔════════════════════════════════════════════════════╗
echo ║ ║
echo ║ Kopiervorgang abgeschlossen ! ║
echo ║ ║
echo ║ Dateien werden entpackt. ║
echo ║ ║
echo ╚════════════════════════════════════════════════════╝
%1
rem cd \
cd %1\skat2010
%1\skat2010\-skat.exe
del %1\skat2010\-skat.exe
del %1\skat2010\install.bat
del %1\skat2010\info.txt
echo
cls
echo ╔════════════════════════════════════════════════════╗
echo ║ ║
echo ║ Installation abgeschlossen ! ║
echo ║ ║
echo ║ Starten Sie Skat2010.EXE ║
echo ║ ║
echo ╚════════════════════════════════════════════════════╝
echo
pause
:End
echo