34
VirusScan
®
Command Line 5.20.0 Product Guide
Using the Command-Line Scanner
Choosing the options
3
Options in alphabetic order
For convenience, the options are repeated in this section alphabetically with a brief
description. For full descriptions, see the previous sections.
Table 3-6 Alphabetic list of options
Option Description
See
...
/?
Display a list of command-line options, each with a brief
description.
page 33
/AD
Same as /ALLDRIVES.
page 25
/ADL
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.
page 25
/ADN
Scan all network drives, in addition to any other drives specified
on the command line.
page 25
/AFC=<SIZE>
Specify the size of the file cache.
page 25
/ALL
Scan all files regardless of extension.
page 25
/ALLDRIVES
Scan all drives. Scan all network drives and local drives, but not
removable drives; these include disk drives, CD drives, and Zip
drives.
page 25
/ALLOLE
Check every file for OLE objects.
page 25
/ANALYSE
Same as
/ANALYZE
.
page 26
/ANALYZE
Use heuristic analysis to find possible new viruses in “clean”
files.
page 26
/APPEND
Append information to the specified report file instead of
overwriting it.
page 32
/APPENDBAD
Append names of infected files to an existing file, as specified by
/BADLIST.
page 26
/BADLIST <FILENAME>
Create a list of infected files.
page 26
/BEEP
Issue a tone when an infected file is found.
page 33
/BOOT
Scan boot sector and master boot record only.
page 26
/BPRESTORE
Restore sectors from backup after cleaning.
page 26
/CHECKLIST <FILENAME>
Scan the files listed in the specified file.
page 26
/CLEAN
Automatically remove any infections.
page 30
/CONTACTFILE <FILENAME>
Display the contents of the specified file when a virus is found.
page 30
/DAM
Delete all macros in a file if an infected macro is found.
page 30
/DEL
Delete infected .COM and .EXE files.
page 30
/DOHSM
Scan files that are offline.
page 26
/DRIVER
Specify the location of the DAT files: SCAN.DAT, NAMES.DAT,
and CLEAN.DAT.
page 26
/EVLOG
Use Event Logging.
page 30
/EXCLUDE <FILENAME>
Exclude the directories or files from the scan as specified in
<FILENAME>.
page 26
/EXTLIST
Display names of file extensions that are scanned by default.
page 33
/EXTRA <FILENAME>
Specify the location on any EXTRA.DAT file.
page 26
/FAM
Find all macros, not just macros suspected of being infected.
page 26
/FREQUENCY <HOURS>
Do not scan before the specified number of hours after the
previous scan.
page 27
/HELP
See the /? option.
page 33
/HTML <FILENAME>
Create a file containing the results in HTML format.
page 32