I have backed up on servers the file appended below, it’s an AUTOEXEC.BAT off an old W9x Installation floppy, and is completely harmless. It is, I grant, not a showstopper to have this historical file causing false alarms, but I really don’t see why I should have to delete it just because Avast can’t cope with it. What if Avast starts falsely reporting a file that IS important?
I am particularly annoyed that:
The file was deleted off all the servers and moved into the vault without my being prompted to allow it, and there doesn’t seem to be a setting to force prompting beforehand. Nor, when restoring the file from the vault, is there a setting to clear the file, so sooner or later it is just re-imprisoned.
There is no other mechanism (that actually seems to work) to tell the program that this file is harmless.
The program ignores the exclusion settings telling it to leave all files in the Boot Disks directory alone. I’ve set exclusions for the parent directory (including the trailing /*) in both the program settings and the file system shield settings, but these appear to being ignored. The file is still being moved to vault at every attempt to access it, and I still get a Malware Blocked message.
So I have had no choice but disable the file-system shield altogether.
AUTOEXEC.BAT
@ECHO OFF
PATH=A:\
IF %config%==IBM600 GOTO quit
IF %config%==Emergency GOTO quit
ECHO.
IF NOT EXIST A:\NET.EXE GOTO no_net
IF NOT EXIST A:\SYSTEM.DAT GOTO no_reg
CALL A:\STARTNET.BAT
IF ERRORLEVEL 1 GOTO quit
:no_net
ECHO ******************************************************************************
ECHO This computer is Charles_%this%
ECHO ******************************************************************************
IF EXIST C:\NUL GOTO no_fdisk
ECHO NB: No C: drive appears to exist on this PC!
CHOICE /C:YN /T:Y,10 /N "Do you wish to run FDISK [Y,N] ? "
IF ERRORLEVEL 2 GOTO quit
FDISK
CLS
ECHO ******************************************************************************
ECHO This computer is Charles_%this%
ECHO ******************************************************************************
:no_fdisk
IF NOT EXIST C:\REBOOT.FLG GOTO no_cycle
ECHO.
ECHO WARNING - SETUP flag file found!
ECHO --------------------------------
ECHO Perhaps SETUP has rebooted the PC with this setup floppy still in the drive …
ECHO.
CHOICE /C:YN /N "About to reinstall Windows! Do you really wish to continue [Y,N] ? "
ECHO ******************************************************************************
IF ERRORLEVEL 2 GOTO quit
:no_cycle
IF NOT EXIST C:\CONFIG.SYS GOTO no_old_os
ECHO NB: A previous operating system probably exists on this PC!
CHOICE /C:YN /T:Y,10 /N "Do you want to reformat the hard disk [Y,N] ? "
IF ERRORLEVEL 2 GOTO no_format
ECHO Y | FORMAT C: /Q /S /V:WINDOWS
:no_format
ECHO ******************************************************************************
:no_old_os
ECHO If you wish to run Windows Setup off CD, place the CD in the drive now,
ECHO and let it register.
ECHO.
CHOICE /C:YN /T:Y,5 /N "Do wish to run Windows Setup [Y,N]? "
ECHO ******************************************************************************
IF ERRORLEVEL 2 GOTO quit
CALL SETUP.BAT
GOTO quit
:no_reg
ECHO ERROR - No registry file SYSTEM.DAT exists on this floppy
ECHO.
:quit
ECHO.