[Lazarus] Absolute paths on different platforms

Mark Morgan Lloyd markMLl.lazarus at telemetry.co.uk
Sun Jun 26 14:34:57 CEST 2011


Hans-Peter Diettrich wrote:
> Mark Morgan Lloyd schrieb:
> 
>> Does Windows still support commands like "subst" and "join"?
> 
> A friend uses SUBST e.g. for his own libraries, and he cannot use 
> FPC/Lazarus because these are unable to find his files in e.g. X:\.
> 
>> Alternatively I believe that it does now have an equivalent of 
>> symlinks for directories.
> 
> NT is POSIX compatible, at least with regards to files and inodes. 
> Symlinks exist since the introduction of desktop shortcuts/icons and the 
> Windows Explorer, in all file systems. The implementation (of symlinks 
> and SUBST) may vary, though, depending on the concrete filesystem.

I believe that NT introduced POSIX-compliant symlinks for files on NTFS, 
but that these explicitly did not handle directories. I've seen comment 
that this "oversight" is now fixed, but have no personal experience to 
confirm that.

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]




More information about the Lazarus mailing list