This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with dereference option on Windows LNKs (shortcuts)


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
doing
>> so: Extra data (icon, etc.) would be removed when shortcuts were saved
and
>> 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
for
> the symlinks.

Well, if you are using *Cygwin* perl, look no further than `perldoc -f
symlink`.

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]