On Windows using '*' as filemask will find (FindFirst/FindNext) all files, with or without extension.
The problem with TFileSearcher is in the MatchesMask function. This interprets '*.*' as _must_ have a period. So it will return false on 'foo' , but true on 'foo.' On Windows, if you use MatchesMask you must remove a dangling '.*' from the mask, if you want to use it for filenames. Bart -- _______________________________________________ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus