Print Support

Restricting a scan area using masks and regular expressions

You can use the Objects setting to restrict a scan area.

Within the scan area, Anti-Virus will scan only those files or directories specified using Shell masks or POSIX extended regular expressions.

Using Shell masks, you can specify the file name template to scan by Kaspersky Anti-Virus.

Using regular expressions, you can specify the file path template to scan by Kaspersky Anti-Virus. A regular expression cannot contain the name of the folder which defines the scan or protection area.

If you do not specify this setting, Anti-Virus will scan all objects in the scan area.

To restrict a scan area using masks and regular expressions, perform the following steps:

  1. In the left part of Kaspersky Web Management Console select the On-demand scan task type.
  2. In the right part of the web-console window, click the link with the name of the task whose settings you want to modify.
  3. Select the Scan areastab.
  4. In the line with the selected scan area, click the link in the Objectscolumn.

    This will open the Task settings window on the Object masks tab.

  5. Next to the Scan only such objects field, click the button and specify the templates for the masks or paths of the files to be scanned.

    Regular expressions should be identified by the re: prefix. For example: re:.*/Documents/.

  6. Click anywhere in the window with the mouse or press ENTER to save the mask.
  7. Click OK to close the Task settings window.
  8. On the Scan areas tab, click the Save button to save the changes.

You can delete from the list all templates for the masks or paths using the button delete.bmp.

Page topPage top
Latest revision: 4/19/2013 4:14:48 PM.
© 2014 Kaspersky Lab ZAO. All Rights Reserved.
Leave feedback about the Help