User Guide

Using VirusScan Command-line Options
110 McAfee VirusScan
/APPEND On-demand
scanning only
Used with /REPORT to append report message
text to the specified report file instead of
overwriting it.
/BOOT On-demand
scanning only
Scan boot sector and master boot record only.
/BOOTACCESS On-access
scanning only
Scans a disk’s boot sector for viruses whenever
the disk is accessed (including read/write
operations).
/CLEAN On-demand
scanning only
Clean viruses from all infected files and system
areas.
/CLEANDOCALL On-demand
scanning only
As a precautionary measure against macro
viruses, /CLEANDOCALL cleans all macros from
Microsoft Word and Office documents.
This option deletes all macros, including macros
not infected by a virus.
/CONTACT
<message>
On-access
scanning only
Displays specified message when a virus is
detected. This message cannot exceed 255
characters.
/CONTACTFILE
<filename>
None Display the contents of <filename> when a virus is
found. Use this to provide contact information and
instructions to the user when the scanner finds a
virus.
This option is especially useful in network
environments, because you can easily maintain
the message text in a central file rather than on
each workstation.
Any character is valid in a contact message except
a backslash (\). Messages beginning with a slash
(/)or a hyphen (-) should be placed in quotation
marks.
/DEL On-demand
scanning only
Deletes infected files permanently.
/EXCLUDE
<filename>
On-demand
scanning only
Do not scan or add validation codes to the files
listed in
<filename>
.
Use this option to exclude specific files from a scan
operation. List the complete path to each file that
you want to exclude on its own line. You may use
wildcards * and ?
/FILEACCESS On-access
scanning only
Scans executable files when you modify them in
any way, including executing them.
This scan operation will not check the boot sector.
Table C-1. VirusScan command-line scanner options