home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Action 1997 February
/
PCA0297.ISO
/
up_pa
/
02970010
/
update.bat
< prev
Wrap
DOS Batch File
|
1996-12-01
|
2KB
|
90 lines
@Echo off
cls
Echo.
Echo Bleifuss 2 Patch Installation (v1.11)
Echo.
rem -------- Check parameters ---------
if "%1" == "" goto error1
if "%2" == "" goto error1
rem -----------------------------------
rem --- Check if directory exists -----
if not exist %1:\%2\screamer.cfg goto error2
rem -----------------------------------
rem -- Normal or Netzwerk Installation ? ----
Echo Es wird installiert:
Echo.
Echo Update für die Normal Installation von Bleifuss 2
Echo.
:
Echo.
Echo.
rem -----------------------------------
rem --- Normal procedure --------------
Echo.
Echo.
Echo.
Echo Bitte warten........
copy s2_*.exe %1:\%2 > nul
copy setupn.exe %1:\%2 > nul
%1:
cd \%2
attrib start*.exe -r > nul
if not exist startl.exe goto jump1
del startl.exe
s2_256l.exe > nul
:jump1
if not exist starth.exe goto jump2
del starth.exe
s2_256h.exe > nul
:jump2
if not exist start65l.exe goto jump3
del start65l.exe
s2_65kl.exe > nul
:jump3
if not exist start65h.exe goto jump4
del start65h.exe
s2_65kh.exe > nul
:jump4
del s2_*.exe
del setup.exe
setupn.exe > nul
del setupn.exe > nul
cls
goto installed
rem -----------------------------------
:installed
Echo.
Echo Patch Installiert
Echo.
echo Sollten Sie Bleifuss 2 neu installieren, muss auch dieses
echo Update neu installiert werden.
goto end
:error1
cls
echo Anwendung: UPDATE LAUFWERK BLEIFUSS2-VERZEICHNIS
echo
echo Wobei LAUFWERK der Buchstabe Ihrer Festplatte sein muss, gefolgt vom
echo Verzeichnisnamen, indem Sie Bleifuss 2 installiert haben.
echo
echo Beispiel: UPDATE C B2
echo
goto end
:error2
cls
echo Das Bleifuss 2 Verzeichnis (%1:\%2) wurde nicht gefunden
echo oder die Installation wurde nicht abgeschlossen.
echo Prüfen Sie den angegebenen Pfad. Sollte dieser korrekt sein,
echo installieren Sie Bleifuss 2 bitte erneut.
goto end
:end