Use of Include and Exclude

When you mark a section value as Include, the section works on the value indicated; when you mark a section value as Exclude, the section works on all values except the one indicated. When you use these keywords, they are enclosed in brackets { ... } and their value in quotation marks “ ... “.

For example, to monitor all the text files in C:\test\:

files { Include “C:\\test\\*.txt” }

and to monitor all the files except the text files in C:\test\:

files { Exclude “C:\\test\\*.txt” }

Combine the keywords to exclude values from a set of included values. To monitor all the text files in folder C:\test\ except file abc.txt:,

files { Include “C:\\test\\*.txt” }

files { Exclude “C:\\test\\acb.txt” }

Each time you add the same section with the same keyword, you add an operation. To monitor any text file in folder C:\test\ whose name starts with the string “abc”:

files { Include “C:\\test\\*.txt” }

files { Include “C:\\test\\acb*” }

Copyright © 2006 McAfee, Inc. All Rights Reserved.