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

Re: windows, shortcuts and 'use lib'

Thread Previous | Thread Next
Edward Peschko
May 1, 2003 07:59
Re: windows, shortcuts and 'use lib'
Message ID:
On Tue, Apr 29, 2003 at 04:19:28PM -0700, Robert Spier wrote:
> This whole thread makes little sense to me.
> A windows shortcut file is _not_ the equivalent of a UNIX symlink.
> It's meant so that Explorer can store meta-data about file location,
> icons and other things.
> If you ask MS Word to access c:\Some.lnk\file.doc, I'm 99% sure it
> will fail.  Perl should do the same.

The point is that windows doesn't have symlinks - apparently without the resource
kit, and even then, only directory hard links. For purposes of portablity across 
platforms it *should* have symlinks.  And hence, I think perl should emulate them as it
does fork().

Anyways, you don't access a word document via C:\Some.lnk\file.doc, you access it by:

	a) opening up word, hitting the 'open menu'
	b) clicking on the icons following file.doc down to its source.
	c) clicking on the file.doc menu.

How is this any different from accessing it via 'C:\some.lnk\file.doc' (except by making 
it a bigger pain for the user)?


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