Configuring Scans - McAfee VCLCDE-AA-DA - VirusScan Command Line Scanner Standard Product Manual

Product guide
Table of Contents

Advertisement

®
VirusScan
Command Line 5.20.0 Product Guide

Configuring scans

Instead of running each scan with all its options directly from the command line, you
can keep the options in a separate text file, known as a task file. In the file, you can
specify the actions that the scanner must take when a virus is detected. This allows
you to run complete scans with ease, and at any time; you need only specify the files
or directories that you want to scan.
To configure a scan:
1 Choose the command options that you want to use.
See
Choosing the options on page 25
2 Type the command options into a text editor just as you might on the command line.
3 Save the text as a file.
4 Type the following at the command prompt:
<FILENAME> <TARGET>
SCAN /LOAD
Here, <
is the name of the text file you created in steps
FILENAME>
Step
3, and <
is the file or directory you want to scan.
TARGET>
If the scanner detects no virus infections, it displays no output.
To learn how to specify the options, see
The following examples show how you can configure scans using task files. The
examples assume the scanner is available in the search path.
Example 1
To scan files in the
C:\WINDOWS
task file
C:\TASKS\CONFIG1.TXT
SCAN /LOAD C:\TASKS\CONFIG1.TXT C:\WINDOWS
The contents of the file
C:\TASKS\CONFIG1.TXT
/MOVE C:\VIRUSES /NOCOMP /MAXFILESIZE 4
They instruct the scanner to move any infected files to
compressed executables created with LZEXE or PkLite, and to examine only files
smaller than 4
.
MB
As an alternative, you can arrange the contents of the task file as single lines:
/MOVE C:\VIRUSES
/NOCOMP
/MAXFILESIZE 4
for a description of available options.
Command-line conventions on page
directory according to the settings you stored in the
, type the command:
are:
C:\VIRUSES
22
Using the Command-Line Scanner
Configuring scans
Step 2
and
21.
, to ignore
3

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the VCLCDE-AA-DA - VirusScan Command Line Scanner Standard and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Virusscan command line

Table of Contents