home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: Shareware for Win 95
/
Chip-Shareware-Win95.bin
/
antiviry
/
v95
/
data.z
/
Edisk.scr
< prev
next >
Wrap
Text File
|
1997-07-21
|
3KB
|
54 lines
STATUS "Preparing EDISK files..."
DELETE ESCAN.ERR
DELETE ESCAN.VIR
WHILENOTEXIST A:\COMMAND.COM "Insert a System Formatted, Non-Write Protected HD Diskette into Drive A:"
COPY %WORK_DIR%EDAT.5 ESCAN.BAT
COPY %WORK_DIR%EDAT.6 ESCAN.PIF
STATUS "Scanning floppy for infections..."
RUN ESCAN.PIF
VERIFYNOTEXIST ESCAN.ERR "+Floppy could not be scanned or disk or memory is INFECTED - Aborting Emergency Disk"
VERIFYNOTEXIST ESCAN.VIR "+Floppy could not be scanned or disk or memory is INFECTED - Aborting Emergency Disk"
DELETE A:\DRVSPACE.BIN
DELETE A:\DBLSPACE.BIN
DELETE A:\DBLSPACE.SYS
APPENDTEXT A:ID.001 "DISK1"
STATUS "Copying HIMEM.SYS..."
COPY %windir%\HIMEM.SYS A:\HIMEM.SYS
VERIFYEXIST A:\HIMEM.SYS "EDisk creation failed - missing HIMEM.SYS"
STATUS -----------------------------------------------------
STATUS "Creating CONFIG.SYS file..."
DELETE A:\CONFIG.SYS
APPENDTEXT A:\CONFIG.SYS "DEVICE=A:\HIMEM.SYS"
APPENDTEXT A:\CONFIG.SYS "DOS=HIGH"
VERIFYEXIST A:\CONFIG.SYS "EDisk creation failed - missing CONFIG.SYS"
STATUS -----------------------------------------------------
STATUS "Creating AUTOEXEC.BAT file..."
DELETE A:\AUTOEXEC.BAT
APPENDTEXT A:\AUTOEXEC.BAT @ECHO OFF
APPENDTEXT A:\AUTOEXEC.BAT @CLS
APPENDTEXT A:\AUTOEXEC.BAT @A1.COM
COPY %WORK_DIR%EDAT.3 A:\A1.COM
VERIFYEXIST A:\AUTOEXEC.BAT "+EDisk creation failed - missing AUTOEXEC.BAT"
STATUS -----------------------------------------------------
STATUS "Copying McAfee Anti-Virus file SCAN.EXE..."
COPY %WORK_DIR%SCAN.EXE A:\SCAN.EXE
VERIFYEXIST A:\SCAN.EXE "+EDisk creation failed - missing SCAN.EXE"
STATUS -----------------------------------------------------
STATUS "Copying McAfee Anti-Virus file SCAN.DAT..."
COPY %WORK_DIR%EMSCAN.DAT A:\SCAN.DAT
VERIFYEXIST A:\SCAN.DAT "+EDisk creation failed - missing SCAN.DAT"
STATUS -----------------------------------------------------
STATUS "Copying McAfee Anti-Virus file CLEAN.DAT..."
COPY %WORK_DIR%EMCLEAN.DAT A:\CLEAN.DAT
VERIFYEXIST A:\CLEAN.DAT "+EDisk creation failed - missing CLEAN.DAT"
STATUS -----------------------------------------------------
STATUS "Copying McAfee Anti-Virus file NAMES.DAT..."
COPY %WORK_DIR%EMNAMES.DAT A:\NAMES.DAT
VERIFYEXIST A:\NAMES.DAT "+EDisk creation failed - missing NAMES.DAT "
STATUS -----------------------------------------------------
STATUS "Copying McAfee file GETREPLY.EXE..."
COPY %WORK_DIR%GETREPLY.EXE "A:\GETREPLY.EXE"
VERIFYEXIST A:\GETREPLY.EXE "+EDisk creation failed - missing GETREPLY.EXE "
STATUS "EDisk creation successful."
ENDSCRIPT