The filter will be applied to all types of FileSystemItem objects.
File
1
The filter will be applied to any AbstractFile object.
Folder
2
The filter will be applied to any AbstractFolder object.
Recurse
4
The filter only applies to subfolder AbstractFolder objects when the recursive parameter of the applicable methods is set to true.
Remarks
The File and Folder values determine what items are included or excluded, but do not prevent recursing into subfolders even though that folder would be excluded by the filter. To prevent recursing into a subfolder, use the Recurse value with the applicable filter.
Example
This example shows how to prevent the contents of a specific subfolder from being copied, while copying everything else recursively.
This example shows how to prevent the contents of a specific subfolder from being copied, while copying everything else recursively.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2