[fpc-pascal] cross os symbolic link handling

Tomas Hajny XHajT03 at mbox.vol.cz
Sat Nov 1 10:09:34 CET 2008

On 31 Oct 08, at 17:49, Marc Santhoff wrote:


> 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). NTFS links (available since Win2k IIRC) are another 
story, those are much closer to the Unix symbolic link concept.


More information about the fpc-pascal mailing list