home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR14
/
UPTEST10.ZIP
/
ZIP.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-02-24
|
871b
|
37 lines
@echo off
type c:\renegade\arcs\zipt1.ans >COM4
type c:\renegade\arcs\zipt2.ans >COM4
PkUnZip -t %1
If errorlevel 1 goto FAILCRC
If errorlevel 2 goto FAILCRC
If errorlevel 3 goto FAILCRC
If errorlevel 51 goto FAILCRC
type c:\renegade\arcs\zipt3.ans >COM4
type c:\renegade\arcs\zipt4.ans >COM4
PkZip -k -aex %1 C:\STATIC.COM
type c:\renegade\arcs\zipt5.ans >COM4
md $$temp
cd $$temp
type c:\renegade\arcs\zipt6.ans >COM4
PkUnzip -o %1
type c:\renegade\arcs\zipt7.ans >COM4
type c:\renegade\arcs\zipt8.ans >COM4
SCAN *.*
type c:\renegade\arcs\zipt9.ans >COM4
If errorlevel 0 goto END
If errorlevel 1 goto VIRUS
:VIRUS
type c:\renegade\arcs\zipt11.ans >COM4
del %1
reboot
:FAILCRC
type c:\renegade\arcs\zipt12.ans >COM4
goto END
:END
PkZip -k -aex %1
PkZip %1 -z < C:\STATIC.ASC
type c:\renegade\arcs\zipt10.ans >COM4
cd..
kd $$temp
exit