Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <058801c34a4e$e4653b90$6366883e@starfruit> From: "Max Bowsher" To: "Mellem, Dan" , References: <4B8A0478615FD3118F1600508B0BB71B02F61ACD AT pusd-mail DOT pusd DOT org> Subject: Re: Problem with dereference option on Windows LNKs (shortcuts) Date: Mon, 14 Jul 2003 22:28:38 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 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/