[fpc-pascal] cross os symbolic link handling

Marc Santhoff M.Santhoff at t-online.de
Sat Nov 1 17:25:04 CET 2008

Am Samstag, den 01.11.2008, 10:09 +0100 schrieb Tomas Hajny:
> On 31 Oct 08, at 17:49, Marc Santhoff wrote:
> Hi,
> > is there any function or set of functions for handling symbolic links
> > inside the file system at an os independant level in fpcs libraries?
> > 
> > Unix-like systems have soft symlinks (Linux, FreeBSD), Windows has .lnk
> > files upt to XP and AFAIR Windows Vista has some other stuff I don't
> > know about yet.
>  .
>  .
> .lnk files under Windows don't really work as symlinks and thus 
> wouldn't be supported at the RTL level (they aren't directly treated 
> like that by the Windows API level AFAIK, they're only handled by the 
> Windows GUI).

I expected behaviour like that, but I need to retrieve some information
on the target file of the .lnk. I'm sure some shell- or winapi-funktion
will help me there.

>  NTFS links (available since Win2k IIRC) are another 
> story, those are much closer to the Unix symbolic link concept.

I see, this is the new part. So I have to go searching Bills KB for that

Thank you,

More information about the fpc-pascal mailing list