[fpc-pascal]Findfirst and symbolics links

Peter Vreman peter at freepascal.org
Tue Mar 2 19:22:39 CET 2004


At 19:05 2-3-2004, you wrote:
>Hi
>
>How do I know if a file returned by findfirst is a real file or a symbolic 
>link ?

Use stat() (fpStat() in 1.9.x). There is a patch supplied to add a Mode 
field to TSearchRec, but that is not applied yet.


Peter





More information about the fpc-pascal mailing list