Op Tue, 12 Jun 2007, schreef Graeme Geldenhuys:
> Hi,
>
> I'm doing a FindFirst / FindNext and fitering out all faHidden and
> faDirectory results.
> I don't want to show and dot (.<name>) directories as they are
> considered hidden under Linux.
> Yet FindFirst / FindNext doesn't have the faHidden flag set for those
> directories
>
> Is there another function or another way I can filter out any dot
> directories (.<name>) from the results?
Check if they start with a dot :)
There simply exists no hidden atrribute; the hiding is done by the shell
and possibly the applications; at API level there exist no hiding in Unix.
Daniël
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal