Depth

<< Click to Display Table of Contents >>

Navigation:  Analysis > Rule Criteria >

Depth

Previous pageReturn to chapter overviewNext page

FolderSizes search and scan filter rules can match file system objects at specific absolute depths.

 

To use this capability, select the Specify Depth radio button and select the type of comparison you'd like to perform from the drop-down box (options include "greater than", "less than", "equal to", and "between"). Finally, enter the minimum and / or maximum depths.

 

How Depths are Computed

 

It's important to understand that the depth of a file system object is always computed relative to it's path root, and is therefore an "absolute" depth.

 

Here's an example of how FolderSizes computes the depth of a local file system path:

 

C:\Program Files\Key Metric Software\FolderSizes 7\FolderSizes.exe

 

FolderSizes starts by assigning the root path (in this case "c:\") a depth of 1, and then incrementing for each path segment. Therefore, the file "FolderSizes.exe" in the example above has an absolute depth of 5.

 

Another example for a UNC network path:

 

\\server\share\subfolder1\subfolder2

 

In the case above, the root path is "\\server\share", and the absolute depth of "subfolder2" is 3.

 

See also: Scan filter rules, Search rules