X-Recipient: archive-cygwin@delorie.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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1707091278.20150411200026@yandex.ru>
To: Rodrigo Medina <rmedina@ivic.gob.ve>, cygwin@cygwin.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@mail> <48ce5145-3176-4f14-a231-243073cb116f@mail>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
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

