DIFileFinder is component collection for Borland / CodeGear Delphi to search the file system for files and or folders matching (or not matching!) particular attributes and / or name patterns. Pattern syntax includes standard wildcards as well as full PERL regular expressions. DIFileFinder supports inclusion as well as exclusion filters.
A FASTER Approach to Find Files
Unlike most file finder components, DIFileFinder does not use events nor does it build lengthy file lists. Instead it immediately reports a single file or folder at a time. This new architecture guarantees a maximum of flexibility using a minimum of resources only. Simply call the Next method each time Another File entry is required. Next returns True for each file found, and the component can then be queried about the file Details.
Search Options
Full folder recursion is provided, and directories can be skipped at any time to avoid recursion if not required. DIFileFinder features filters for files, folders, all File Attributes (include and exclude) plus full path and file name filters. Descendant components may easily implement their own filtering mechanism by simply overwriting the Validate method.