delorie.com/archives/browse.cgi | search |
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-list-only-lh AT cygwin DOT com> |
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> <loom DOT 20090603T214310-75 AT post DOT gmane DOT org> <366c6f340906031916r19d2516dg8412746c3da2f8a0 AT mail DOT gmail DOT com> <0105D5C1E0353146B1B222348B0411A201BCE5EB3E AT NIHMLBX02 DOT nih DOT gov> |
In-Reply-To: | <0105D5C1E0353146B1B222348B0411A201BCE5EB3E@NIHMLBX02.nih.gov> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 <mark AT maxrnd DOT com> 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 <name.lnk>. > - The filename of a symbolic link is of the form <name.lnk>. > 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |