home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #3
/
_.ISO
/
cdd
/
info
/
ssm
/
install
/
katalog1.exe
/
INST.BAT
next >
Wrap
DOS Batch File
|
1995-01-05
|
1KB
|
68 lines
scrshow inst1 /n2
pb "-k%FROM%" -h4 -v11 -r0 -o -y6 -x42
pb "-k%TO%" -h4 -v11 -r0 -o -y6 -x50
:Start
taste
if errorlevel 52 goto start
if errorlevel 51 goto start
if errorlevel 50 goto at
if errorlevel 49 goto atsb
if errorlevel 48 goto start
if errorlevel 28 goto start
if errorlevel 27 goto endex
if errorlevel 26 goto start
goto start
:at
SET KONFIG=AT
goto inst
:atsb
SET KONFIG=ATSB
goto inst
:inst
scrshow inst1 /n3
scrshow inst1 /n4
Copy %FROM%:\Katalog.Exe %TO%:\SSM-KATA > nul
scrshow inst1 /n5
katalog > nul
scrshow inst1 /n6
del Katalog.exe > nul
scrshow inst1 /n7
scrshow inst1 /n8
call gesamt.bat
scrshow inst1 /n9
if "%KONFIG%" == "ATSB" SET KAT=SB
if "%KONFIG%" == "AT" SET KAT=NO
if "%KONFIG%" == "" goto error1
Echo [KONFIG] > %TO%:\SSM-KATA\SOUND.CFG
Echo. >> %TO%:\SSM-KATA\SOUND.CFG
Echo SOUND=%KAT% >> %TO%:\SSM-KATA\SOUND.CFG
Echo @Echo off > SSM.BAT
Echo %TO%: >> SSM.BAT
Echo CD\ >> SSM.BAT
ECho CD SSM-KATA >> SSM.BAT
Echo KATALOG >> SSM.BAT
Echo CD\ >> SSM.BAT
Echo CLS >> SSM.BAT
Echo ECHO ON >> SSM.BAT
Copy ssm.bat \ > nul
scrshow inst1 /n10 /p
goto ende
:ende
temp.bat
goto endex
:error1
cls
Echo.
Echo Unerwarteter Fehler beim Erstellen der SSM.BAT!
Echo Installation abgebrochen!
Echo.
Echo Bitte mit Katalog.com starten!
Echo.
:endex
SET KONFIG=
SET KAT=
SET FROM=
SET TO=