Using VirusScan Command-line Options
Table C-1. VirusScan command-line scanner options
/APPEND
/BOOT
/BOOTACCESS
/CLEAN
/CLEANDOCALL
/CONTACT
<message>
/CONTACTFILE
<filename>
/DEL
/EXCLUDE <filename>
/FILEACCESS
110
McAfee VirusScan
On-demand
Used with /REPORT to append report message
scanning only
text to the specified report file instead of
overwriting it.
On-demand
Scan boot sector and master boot record only.
scanning only
On-access
Scans a disk's boot sector for viruses whenever
scanning only
the disk is accessed (including read/write
operations).
On-demand
Clean viruses from all infected files and system
scanning only
areas.
On-demand
As a precautionary measure against macro
scanning only
viruses, /CLEANDOCALL cleans all macros from
Microsoft Word and Office documents.
This option deletes all macros, including macros
not infected by a virus.
On-access
Displays specified message when a virus is
scanning only
detected. This message cannot exceed 255
characters.
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.
On-demand
Deletes infected files permanently.
scanning only
On-demand
Do not scan or add validation codes to the files
scanning only
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 ?
On-access
Scans executable files when you modify them in
scanning only
any way, including executing them.
This scan operation will not check the boot sector.