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

Re: windows, shortcuts and 'use lib'

Thread Previous | Thread Next
From:
Slaven Rezic
Date:
May 5, 2003 13:13
Subject:
Re: windows, shortcuts and 'use lib'
Message ID:
871xzd41qa.fsf@vran.herceg.de
Jan Dubois <jand@ActiveState.com> writes:

> On Sun, 04 May 2003 18:38:05 -0700, Robert Spier <rspier@pobox.com> 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 :-)

Regards,
	Slaven

-- 
Slaven Rezic - slaven@rezic.de

    Berlin Perl Mongers - http://berliner.pm.org

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About