For a given shell link (.LNK file), this function returns the full path of the target of this link. If the given file is not a link file, or the target could not be retrieved, an empty string is returned.
var target: TFilename;
...
target := GetLinkTarget('C:test.LNK');
...
target := GetLinkTarget('C:Documents and Settingsuser1NethoodDocuments at Server2');