User Guide

Administrator’s Guide 109
Using VirusScan Command-line Options
The following table lists the options that can be added to the SCAN command.
Table C-1. VirusScan command-line scanner options
Command-line
Option
Limitations Description
/? or /HELP None Displays a list of VirusScan command-line options,
each with a brief description.
/ADL On-demand
scanning only
Scan all local drives—including compressed drives
and PC cards, but not disks—in addition to any
other drive specified on the command line.
To scan both local and network drives, use the
/ADL and /ADN commands together in the same
command line.
OS/2: /ADL includes the CD-ROM drive in the
scan, when used with /NODDA.
/ADN On-demand
scanning only
Scan all network drives—including CD-ROM—for
viruses, in addition to any other drive(s) specified
on the command line.
To scan both local drives and network drives, use
the /ADL and /ADN commands together in the
same command line.
/ALERTPATH
<dir>
On-demand
scanning only
Designates the directory <dir> as a network path
for Centralized Alerting alert messages.
/ALL On-demand
scanning only
Overrides the default scan setting by scanning all
infectable files—regardless of extension.
Using the /ALL option substantially increases the
scanning time required. Use it only if you find a
virus or suspect that you have one.
/ANALYZE On-demand
scanning only
Extended
memory
required.
Sets scanner to use its full heuristics, both
program and macro.
/MANALYZE targets macro viruses only.
/PANALYZE targets program viruses only.
/ANYACCESS On-access
scanning only
Scans:
the boot sector whenever a disk is either read or
written to
executables
any newly created files