Review the following guidelines for exclusion filters.
Excluding by file size
When viewing the size of a file on a remote file system, only the value in bytes is precise. The calculations used to round the bytes to a different measurement are specific to each vendor and operating system, and should not be used to exclude a specific file.
For example, a Windows host could indicate the following information for the size of a file:
Size: 750 MB (786,652,672 bytes)
If you use an exclusion filter of
Equal to with a value of
750 MB, the rounding of bytes to megabytes will almost certainly result in the file not being excluded.
Examples of exclusion filters to exclude this file by size include the following:
Equal to with a value of
786,652,672 bytes.
Greater than or Equal to with a value of
749 MB or
785,000,000 bytes.
Less than or Equal to with a value of
751 MB or
787,000,000 bytes.
Using wildcards
Supported wildcards include an asterisk (*) to represent zero or more characters and a question mark (?) to represent zero or one character.
NOTE:
Be careful when using the wildcard *. Depending on the wildcard location, you can match folders whose name matches the filter pattern and their contents, even when the names of those files do not match the filter. For example,
*\log*.txt also excludes files with the
.txt extension in a folder whose name starts with
log, even if the names of the files do not start with
log.
Unsupported characters in file and path names
File and path names that contain a comma (,) cannot be directly specified in a filter. To exclude such a file or path, use a wildcard.
Excluding by file type
The
File Type filter enables you to exclude files and folders based on file extension.
You can specify a single extension or multiple file extensions. Separate multiple entries with a comma and do not add a space between entries. You can also specify related extensions by using wildcards. For example,
*.doc? matches both
.doc files and
.docx files.
Excluding by type and path
You can combine extension and path to exclude all files of a particular type without respect to the file location.
For example
*\log*.txt matches all text files (.txt) where the file name starts with
log, at any path.
You can also exclude all files of a particular type from a specific path or multiple paths that are separated by commas. For example,
Specifying
C:\abc\*.txt excludes all the text files in the folder
C:\abc.
Specifying
C:\folder1\*.txt,
D:\folder2\*.doc excludes all the text files in the
C:\folder1 and the doc files in the
D:\folder2 folders.
NOTE:All the matching files under subfolders of the specified path are recursively excluded.
You can combine these guidelines to exclude all files that match a specific name pattern under a particular path. For example,
C:\folder\log*.txt.
Excluding by file path
The
Folder Path filter enables you to exclude files and folders in a specific path.
You can specify an absolute or relative path.
The following table provides examples for excluding files and folders using absolute and relative paths.
Table 1. Absolute and relative path examples
Type of path
Folder
File
Absolute
F:\folder1\folder2\*
In this example, the filter excludes all files and folders under
F:\folder1\folder2.
F:\folder1\folder2\sample.txt
In this example, the filter excludes the
sample.txt file under
F:\folder1\folder2.
Relative
*\folder1\folder2\*
*\folder1\folder2\sample.log
In this example, the filter excludes all files and folders under any volume with the hierarchy
folder1\folder2.
In this example, the filter excludes all
sample.log files under any volume with the hierarchy
folder1\folder2.
D:\*\folder1\folder2\*
D:\*\folder1\folder2\sample.log
In this example, the filter excludes all files and folders under any folder in
D: with the hierarchy
folder1\folder2.
In this example, the filter excludes all
sample.log files under any folder in
D: with the hierarchy
folder1\folder2.
Excluding multiple paths
Use commas to separate multiple paths and do not add a space between entries. For example, to exclude the folder
C:\Program Files, the folder
C:\Program Files (X86), and the folder
C:\Perflogs, use the
Folder Path filter
C:\Program Files,C:\Program Files (X86),C:\Perflogs. Do not enclose each path in quotation marks.
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\