delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/04/11/13:05:33

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=JscfOMp17I2hu/vI
8LETTxeD/FkDfxOn0QkX+7ljhKkN3kkYRPiPsv+ARoxpdCY1zgGQF3MR9nV/6zef
izO1KLrmvKcxmeRGfXv7Opl1x35fBW5s8gCHQUA0Z58uoduh3CdlFYpBEgFP2RTg
4r2PycAhWQJMRIp/ciif8VALeZg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=olWuMe0FRKuNZbP6FE0kim
N9/ks=; b=yeJEKejNMrkgxgUWJpnXee2WmmSJxIt94Ys/gFq4qsolAihSWWhlUz
2kVVUQhFD0tqQxo/MgWaSNWlTIg4labPkClLgfHsjMaUt+gHMxaLsxBgeW1Mka+/
gq3icDIdKpw2q0EDPWSJmi3MQaKfZ5dP7NeiLA1x9x8iQN4TZU4ak=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.0 required=5.0 tests=AWL,BAYES_99,FOREIGN_BODY1,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Sat, 11 Apr 2015 20:00:26 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <1707091278.20150411200026@yandex.ru>
To: Rodrigo Medina <rmedina AT ivic DOT gob DOT ve>, cygwin AT cygwin DOT com
Subject: Re: Soft link created with 'ln -s' is not seen as a shortcut by WXP
In-Reply-To: <48ce5145-3176-4f14-a231-243073cb116f@mail>
References: <6396ed0a-bf8a-41af-af68-06bb879f2218 AT mail> <48ce5145-3176-4f14-a231-243073cb116f AT mail>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Rodrigo Medina!

> One nice feature of cygwin was that a link  to a folder  created by 'ln -s'
> was seen as shortcut to the folder by WXP. Lately it does not function
> like that.

>  $ ls -aFl Escr
> lrwxrwxrwx 1 rmedina Usuarios 53 Dic  9  2009 Escr -> /cygdrive/c/Documents
> and Settings/rmedina/Escritorio/

> $ln -s /cygdrive/c/Documents\ and\ Settings/rmedina/Escritorio test
> $ ls -aFl test
> lrwxrwxrwx 1 rmedina Usuarios 53 Abr  5 10:27 test -> /cygdrive/c/Documents
> and Settings/rmedina/Escritorio/

> $ cd Escr
> $ pwd
> /home/rmedina/Escr
> $pwd  -P
> /cygdrive/c/Documents and Settings/rmedina/Escritorio
> $cd ../
> $cd test
> $pwd
> /home/rmedina/test
> $pwd  -P
> /cygdrive/c/Documents and Settings/rmedina/Escritorio

> Both links work fine for bash, but  the old one 'Escr' is seen as a
> shortcut by WXP, while the new one 'test' is not recogniced as a shortcut
> by the
> W-explorer. It has a generic file icon and the properties indicate it is
> system file.

> I hope that this nice feature can be recovered.

Perhaps, this is because new shortcuts are created without .lnk extension? you
may try adding one yourself.
You may also try setting winsymlinks to a different value, but I'm skeptical
of the effect.
http://cygwin.com/cygwin-ug-net/using-cygwinenv.html#cygwinenv-implemented-options


-- 
With best regards,
Andrey Repin
Saturday, April 11, 2015 19:56:01

Sorry for my terrible english...


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

- Raw text -


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