Excluding Folders and Files

 

In addition to Filters, DiskFerret provides options to globally exclude folders and files that you define.  The exclude options are accessed via the Tools > Options menu item.  When the Options dialog is displayed, select the Exclude tab.  Note that a folder or file matching ANY criteria specified in this dialog will globally exclude matching items from scans.

 

 

Exclude Folders

Folders can be excluded by selecting the  button under Folders list.  This presents the following dialog, where you can enter a wildcard specification such as *\system\* or select the  button to access a file open dialog, where you can navigate to a folder that you want to exclude.

 

Exclude Files

Files can be excluded by selecting the  button under Files list.  This presents the following dialog, where you can enter a wildcard specification such as *.dbx or select the  button to access a file open dialog, where you can navigate to a file that you want to exclude.

 

Exclude by Attribute

Folders and file can be excluded by the following attributes.

 

Click the “Filter on file attributes” to enable attribute filtering.

 

Click the “Match any” radio button if you want to find files that have ANY of the selected attributes set, otherwise select the “Match all” radio button to find files that have ALL of the selected attributes set.

 

The following table list Microsoft’s definition of each attribute:

 

Member name

Description

Archive

Supported by the .NET Compact Framework.

The file's archive status. Applications use this attribute to mark files for backup or removal.

Compressed

Supported by the .NET Compact Framework.

The file is compressed.

Device

Supported by the .NET Compact Framework.

Reserved for future use.

Directory

Supported by the .NET Compact Framework.

The file is a directory.

Encrypted

Supported by the .NET Compact Framework.

The file or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and directories.

Hidden

Supported by the .NET Compact Framework.

The file is hidden, and thus is not included in an ordinary directory listing.

Normal

Supported by the .NET Compact Framework.

The file is normal and has no other attributes set. This attribute is valid only if used alone.

NotContentIndexed

Supported by the .NET Compact Framework.

The file will not be indexed by the operating system's content indexing service.

Offline

Supported by the .NET Compact Framework.

The file is offline. The data of the file is not immediately available.

ReadOnly

Supported by the .NET Compact Framework.

The file is read-only.

ReparsePoint

Supported by the .NET Compact Framework.

The file contains a reparse point, which is a block of user-defined data associated with a file or a directory.

SparseFile

Supported by the .NET Compact Framework.

The file is a sparse file. Sparse files are typically large files whose data are mostly zeros.

System

Supported by the .NET Compact Framework.

The file is a system file. The file is part of the operating system or is used exclusively by the operating system.

Temporary

Supported by the .NET Compact Framework.

The file is temporary. File systems attempt to keep all of the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed.

 

Tip:  It is a good idea to exclude folders and files with the System attribute.

 

Exclude by Size

Files can be excluded by size.  To exclude files based on size, select an equality operator (greater than, less than, equal or between), and specify the size(s) that you want to exclude.

 

Exclude by Date

Files can be excluded by last modified, created or last accessed date with the following operators: greater than, less than, equal to, or between.

 

Fixed dates or relative dates can be specified.  When specifying relative periods the time frame may be specified in minutes, hours, days, weeks, months, or years.  For example, if you want to exclude files that have been modified within the last 2 months, set the file date to “Modified”, set the operator field to “After”, set the criteria drop down to “Relative Periods”, set the time frame drop down to “Months”, and set the number field to 2. 

 

Use fixed dates by specifying “Fixed Dates” in the criteria drop down list and specify a date using the date widget , or by entering a date in the format or MM/DD/YYYY.