[fpc-pascal] cross os symbolic link handling

Marc Santhoff M.Santhoff at t-online.de
Fri Oct 31 17:49:46 CET 2008


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.

What I'd need would be sth. like:

function IsLink(<filehandle or name>): boolean;
function GetLinkTarget(<filehandle or name>): <filehandle or name>;

Any help on this topic is welcome ... ;)

TIA,
Marc





More information about the fpc-pascal mailing list