X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4A28135F.2000103@cygwin.com> Date: Thu, 04 Jun 2009 14:33:03 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.21) Gecko/20090320 Remi/2.0.0.21-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.21 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: How to change the file mode to link? References: <366c6f340906030948u3c5d3c48v793842b91288f540 AT mail DOT gmail DOT com> <4A26B4DD DOT 9070205 AT cygwin DOT com> <366c6f340906031345p2eaf2b4dwcaa15acd4ef055de AT mail DOT gmail DOT com> <366c6f340906031916r19d2516dg8412746c3da2f8a0 AT mail DOT gmail DOT com> <0105D5C1E0353146B1B222348B0411A201BCE5EB3E AT NIHMLBX02 DOT nih DOT gov> In-Reply-To: <0105D5C1E0353146B1B222348B0411A201BCE5EB3E@NIHMLBX02.nih.gov> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Buchbinder, Barry (NIH/NIAID) [E] wrote: > Peng Yu wrote on Wednesday, June 03, 2009 10:17 PM: > >> On Wed, Jun 3, 2009 at 4:45 PM, Mark Geisert wrote: >>> Peng Yu writes: >>>> Is there such a cygwin command to extract the link from a windows >>>> link. >>> Did you not see Barry's response on this thread? >> I missed it before I sent this message. Sorry. > > One more thing that you should be aware of: > - The filename of a Windows shortcut is of the form . > - The filename of a symbolic link is of the form . > So if you create the link in the same directory as the shortcut, > you will clobber the shortcut. This is, of course, true by default with the current Cygwin release (1.5). In the next (1.7), the default changes so there is no worry of clobbering the Windows shortcut with "ln -s". Everybody likes a little trivia, right? ;-) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/