On Tue, 24 Sep 2019, Anthony Walter wrote:
Michael, Okay I tested and it turns out you are right. I was omitting faDirectory or faSymLink in FindFirst, so the faSymLink is only set in TSearchRec if you request it. Thanks.
You're welcome. You would not be the first to be confused by the use of the attributes mask. I get confused myself sometimes... :( Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal