home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 November
/
pcwk_11_98a.iso
/
AV
/
Vscan320
/
DATA.Z
/
Edisk.scr
< prev
next >
Wrap
Text File
|
1998-09-04
|
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 3.5'' 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 BOOTSCAN.EXE..."
COPY %WORK_DIR%BOOTSCAN.EXE A:\BOOTSCAN.EXE
VERIFYEXIST A:\BOOTSCAN.EXE "+EDisk creation failed - missing BOOTSCAN.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