develooper Front page | perl.perl5.porters | Postings from May 2003

Re: windows, shortcuts and 'use lib'

Thread Previous | Thread Next
Slaven Rezic
May 5, 2003 13:13
Re: windows, shortcuts and 'use lib'
Message ID:
Jan Dubois <> writes:

> On Sun, 04 May 2003 18:38:05 -0700, Robert Spier <> wrote:
> >> But that's the point - shortcuts == symlinks on windows. In fact, in
> >> many ways shortcuts > symlinks. They are symlinks + a bunch of extra
> >> metadata, and they are used exactly like symlinks on windows.
> >
> >See, this is where you are wrong.  shortcuts != symlinks.  symlinks
> >are a _file system_ level thingy.  symlinks exist only at the
> >application level.  (i.e. "Explorer" and things that use Explorer
> >libraries.)  If Microsoft had intended them to work TRANSPARENTLY like
> >symlinks do they would have implemented them that way.  Making
> >shortcuts non-transparent was a DECISION by Microsoft which you are
> >now second guessing.
> You are absolutely right, Shell Links[1] are *not* supposed to work as
> symlinks on Windows.  The closest you can get to Unix style symlink
> semantics are NTFS Reparse Points[2], which unfortunately only work at the
> volume and directory level, but not on a per file basis.  They were
> introduced in NTFS version 5, meaning Windows 2000 and later.  I don't see
> much value in special support for reparse points in Perl itself.

On the other hand, KDE (and maybe GNOME too) has also the concept of
shortcuts, which are implemented as .kdelnk or .desktop files. I don't
think anybody wants to handle these as symlinks :-)


Slaven Rezic -

    Berlin Perl Mongers -

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About