[fpc-pascal] FindFirst / FindNext with faHidden under Linux

Daniël Mantione daniel.mantione at freepascal.org
Tue Jun 12 16:54:31 CEST 2007

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.


More information about the fpc-pascal mailing list