25
VirusScan
®
Command Line 5.20.0 Product Guide
Using the Command-Line Scanner
Choosing the options
3
Choosing the options
The following sections describe the options that you can use to target your scans:
Scanning options
.
Response and notification options
on page 30
.
Report options
on page 32
.
General options
on page 33
.
The options are also listed alphabetically with brief descriptions on
page 34
.
In the descriptions, variables such as file names or path appear in chevrons (< >). To
learn how to add these to the command line, see
Command-line conventions
on
page 21
.
Scanning options
Scanning options describe how and where each scan looks for infected files. You can
use a combination of these options to customize the scan to suit your needs.
Caution
To configure a scan, you must specify a target location for the scan, such as
C:\
,
A:\
,
/ADL
,
/ADN
.
The
/ALL
option overrides the
/NODOC
option, such that all files are scanned, but
Microsoft Office files are not scanned for macros.
Table 3-2 Scanning options
Option
Limitations
Description
/AD
None.
Same as
/ALLDRIVES
.
/ADL
None.
Scan all local drives, including compressed and PC drives, in
addition to any other drives specified on the command line.
Do not scan removable media.
/ADN
None.
Scan all network drives, in addition to any other drives
specified on the command line.
/AFC=
<SIZE>
Specify the size of the file cache.
By default, the cache size is 12
MB
. A larger cache size can
improve scanning performance in some cases, unless the
computer has low memory. The range of sizes allowed is
8
MB
to 512
MB
. Specify the size in megabytes. For example,
to specify a 64
MB
cache, use
/AFC=64
.
See also
AFC
on page 19
.
/ALL
See note on
page 29
.
Scan all files regardless of extension.
By default, only executable files are scanned. Using this
option substantially increases the scanning time. Use it only
if you find a virus or suspect you have one.
/ALLDRIVES
None.
Scan all drives. Scan all network drives and local drives, but
not removable drives; these include disk drives, CD drives,
and Zip drives.
This is a combination of
/ADN
and
/ADL
.
/ALLOLE
None.
Check every file for OLE objects.