delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/04/10:08:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
X-IronPortListener: Outbound_SMTP
From: "Buchbinder, Barry (NIH/NIAID) [E]" <BBuchbinder AT niaid DOT nih DOT gov>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>, "'Peng Yu'" <pengyu DOT ut AT gmail DOT com>
Date: Thu, 4 Jun 2009 10:07:52 -0400
Subject: RE: How to change the file mode to link?
Message-ID: <0105D5C1E0353146B1B222348B0411A201BCE5EB3E@NIHMLBX02.nih.gov>
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>
In-Reply-To: <366c6f340906031916r19d2516dg8412746c3da2f8a0@mail.gmail.com>
MIME-Version: 1.0
X-IsSubscribed: yes
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

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.
>>=20
>> Did you not see Barry's response on this thread?
>=20
> 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.

- Barry
  Disclaimer: Statements made herein are not made on behalf of NIAID.

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019