ExcludeAttributes

Description

Use this property to exclude files with certain file attribute(s).

Syntax

property ExcludeAttributes: <String>;

Example

$SOS.Filter.ExcludeAttributes = "S"
SOS.Filter.ExcludeAttributes = "S"

The directory tree and all exports will exclude all files where the file attributes “System” (S) is set.

Remarks

Permitted values are “R” (Read only), “H” (Hidden), “S” (System), “A” (Archive), “C” (Compressed), “T” (Temporary), “O” (Offline) and “Z” (Alternate Data Stream). Multiple file attributes are simply concatenated, without any separators.