User guide

W O R K I N G W I T H T H E A P P L I C A T I O N F R O M T H E C O M M A N D L I N E
147
Pause scan of selected objects and start a full computer scan, after which continue the paused scan:
avp.com PAUSE Scan_Objects /password=<your_password>
avp.com START Scan_My_Computer
avp.com RESUME Scan_Objects
Scan the objects listed in the file object2scan.txt, using the configuration file scan_setting.txt for the job. Use the
scan_setting.txt configuration file. When the scan is complete, create a report to log all events:
avp.com SCAN /MEMORY /@:objects2scan.txt /C:scan_settings.txt /RA:scan.log
A sample configuration file:
/MEMORY /@:objects2scan.txt /C:scan_settings.txt /RA:scan.log
UPDATING THE APPLICATION
The syntax for updating the modules of Kaspersky Anti-Virus and application databases from the command line is as
follows:
avp.com UPDATE [<update_source>] [/R[A]:<report_file>] [/C:<file_name>]
[/APP=<on|off>]
Settings description:
<update_source>
HTTP or FTP server or network folder for downloading updates. The value
for the parameter may be in the form of a full path to an update source or a
URL. If a path is not selected, the update source will be taken from the
application update settings.
/R[A]:<report_file>
/R:<report_file> log only important events in the report.
/RA:<report_file> log all events in the report.
You can use an absolute or relative path to the file. If the parameter is not
defined, scan results are displayed on screen, and all events are shown.
/C:<file_name>
Path to the configuration file that contains the settings for Kaspersky Anti-
Virus updates.
A configuration file is a file in plain text format containing a list of command-
line parameters for an application update.
You can enter an absolute or relative path to the file. If this parameter is not
defined, the values for the settings in the application interface are used.
/APP=<on|off>
Enable / disable application modules updates.
Examples:
Update application databases and record all events in a report:
avp.com UPDATE /RA:avbases_upd.txt
Update the Kaspersky Anti-Virus program modules using the parameters of updateapp.ini configuration file:
avp.com UPDATE /APP=on /C:updateapp.ini
A sample configuration file:
"ftp://my_server/kav updates" /RA:avbases_upd.txt /app=on