
Using VirusScan Command-line Options
168
McAfee VirusScan Anti-Virus Software
/DEFEXT
This option tells the VirusScan application to add to its default program
extension list those extensions you specify on the same command line.
During the scan operation, the application will use the combined list to
govern which files it examines.
/TASK
This option tells the VirusScan application to start a specific task listed in
the VirusScan Scheduler task list. You must specify an ID for the task
you want to run on the same command line.
To see the set of current task IDs available in the Scheduler, look in the
Windows registry for this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Network
Associates\TVD\VirusScan
\AVConsole\ScanTasks
That location lists each task available in the Scheduler by an item
number. Within each item number folder, the Item_# of the registry key
gives you the task ID number.
/SERVER
This option tells the VirusScan application on which computer you want it
to start or stop a scan task. Specify the computer name following the
/SERVER option on the same command line.
/CANCEL
This option adjusts the Windows registry so that it correctly records that
a task is no longer running. Use this option if your task fails, but the
VirusScan Scheduler still shows it as running.
/LOG
This option tells the VirusScan application to record its actions in a
predefined log file. By default, that log file is VSCLOG.TXT, which you
will find in the VirusScan program directory.
The application records each action it takes as a single “event.” The
information the application records depends on the type of event. If you
tell the application to note whenever it deletes an infected file, it will
record a “one” each time it does so. If you tell the application to note the
date on which it started a scan operation, it will record the current date.
/NOLOG
This option tells the VirusScan application not to record its actions in a
log file.
/LOGALL
This option tells the VirusScan application to record an event in the log
file each time it responds to a virus. The application will do so whenever
it cleans, deletes, or moves a virus, or whenever it prompts you for a
response.
/LOGDETECT
This option tells the VirusScan application to record an event in the log
file each time it finds a virus.
/NOLOGDETECT
This option tells the VirusScan application to leave virus detection
events out of the log file.
/LOGCLEAN
This option tells the VirusScan application to record an event in the log
file each time it cleans, or fails to clean, an infected file.
Table C-2. SCAN32.EXE command-line options
Summary of Contents for VIRUSSCAN 4.5 -
Page 1: ...McAfee VirusScan Administrator s Guide Version 4 5...
Page 32: ...About VirusScan Software 32 McAfee VirusScan Anti Virus Software...
Page 96: ...Removing Infections From Your System 96 McAfee VirusScan Anti Virus Software...
Page 132: ...Updating and Upgrading VirusScan Software 132 McAfee VirusScan Anti Virus Software...
Page 170: ...Using VirusScan Command line Options 170 McAfee VirusScan Anti Virus Software...