This is the mail archive of the
mailing list for the Cygwin project.
Re: Problem with dereference option on Windows LNKs (shortcuts)
- From: "Max Bowsher" <maxb at ukf dot net>
- To: "Mellem, Dan" <Dan dot Mellem at pomona dot k12 dot ca dot us>,<cygwin at cygwin dot com>
- Date: Mon, 14 Jul 2003 22:28:38 +0100
- Subject: Re: Problem with dereference option on Windows LNKs (shortcuts)
- References: <4B8A0478615FD3118F1600508B0BB71B02F61ACD@pusd-mail.pusd.org>
Mellem, Dan wrote:
>> -----Original Message-----
>> From: Max Bowsher On: 7/14/03 2:08 PM
>> Importantly, a Cygwin symlink contains a *POSIX* path. The fact that the
>> symlink is also a windows shortcut is essentially just decoration.
>> Obviously, a normal shortcut does not contain a POSIX path. It would
>> probably be possible to deduce one, but there are good reasons for not
>> so: Extra data (icon, etc.) would be removed when shortcuts were saved
>> restored with tar, for example.
> Oh, I see. A utility to convert Shortcuts to symlinks would be very useful
> for this. I'm going to try to hack something up in PERL with the
> Win32::Shortcut module I found but I still need to find the file layout
> the symlinks.
Well, if you are using *Cygwin* perl, look no further than `perldoc -f
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html