home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD Direkt 1995 #3
/
_.ISO
/
cdd
/
info
/
ssm
/
install
/
ssmkat.bat
< prev
next >
Wrap
DOS Batch File
|
1995-01-05
|
1KB
|
79 lines
@Echo off
SET KONFIG=
SET KAT=
SET FROM=
SET TO=
Katalog2 AB
katalog3 Data.001 -m -x31 -y17 -h7 -v14 -s -r1 "-uBitte auswählen"
:Dat1
if errorlevel 255 goto abbruch
if errorlevel 254 goto abbruch
if errorlevel 3 goto endex
if errorlevel 2 goto B
if errorlevel 1 goto A
if errorlevel 0 goto dat1
:A
SET FROM=A
goto dat2
:B
SET FROM=B
goto dat2
:dat2
Katalog2 AC
katalog3 Data.002 -m -x31 -y16 -h7 -v14 -s -r1 "-uBitte auswählen"
:Dat3
if errorlevel 255 goto abbruch
if errorlevel 254 goto abbruch
if errorlevel 7 goto endex
if errorlevel 6 goto H
if errorlevel 5 goto G
if errorlevel 4 goto F
if errorlevel 3 goto E
if errorlevel 2 goto D
if errorlevel 1 goto C
if errorlevel 0 goto dat3
:C
SET TO=C
goto dat4
:D
SET TO=D
goto dat4
:E
SET TO=E
goto dat4
:F
SET TO=F
goto dat4
:G
SET TO=G
goto dat4
:H
SET TO=H
goto dat4
:Dat4
cd %TO%:\
if not exist %TO%:\SSM-KATA\*.* goto vorin
katalog3 "-k Der alte Katalog wird gelöscht! " -r2 -h1 -v14 -s -o
Echo J | del %TO%:\SSM-KATA\*.* > nul
rd %TO%:\SSM-KATA
if exist %TO%:\SSM.BAT del %TO%:\SSM.BAT > nul
:vorin
katalog3 "-k Moment, die VORINSTALLTION läuft! " -r2 -h1 -v14 -s -o
if errorlevel 254 goto abbruch
md %TO%:\SSM-KATA
cd %TO%:\
copy katalog1.exe %TO%:\SSM-KATA > nul
%TO%: > nul
cd SSM-KATA > nul
katalog1.exe > nul
del katalog1.exe > nul
goto ende
:abbruch
cls
goto endex
:ende
inst.bat
:endex
CLS
Echo on