Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Thu, 22 Feb 2001 11:51:42 +0100 From: Corinna Vinschen To: cygwin Subject: Re: [ANNOUNCEMENT]: Important change to symbolic link functionality Message-ID: <20010222115142.H908@cygbert.vinschen.de> Mail-Followup-To: cygwin References: <20010221232921 DOT X908 AT cygbert DOT vinschen DOT de> <21157045389 DOT 20010222102353 AT logos-m DOT ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <21157045389.20010222102353@logos-m.ru>; from deo@logos-m.ru on Thu, Feb 22, 2001 at 10:23:53AM +0300 On Thu, Feb 22, 2001 at 10:23:53AM +0300, Egor Duda wrote: > i haven't looked at new implementation yet, but i know at least one > problem with the way explorer treats .lnk files. if you create > shortcut b.lnk pointing to file a.exe and then create (with explorer) > shortcut c.lnk, pointing to b.lnk, explorer automatically resolves > c.lnk and make it point to a.exe! (Duh, that "optimizers" at microsoft > made a good "gift" to sysadmins) > > Wouldn't it be a problem here? won't explorer spoil symlink-to-symlink > by just opening it? No. When you create a shortcut in Explorer it always contains the full pathname to the target. When creating a relative link in Cygwin or U/WIN the shortcut contains a relative path. When you open the "Properties" window of that link in Explorer it will try to resolve the relative path and it will show the target path again in absolute notation. It will _not_ change the content of the shortcut. When you create a symlink/shortcut in Cygwin which in turn points to a shortcut it will remain this way. Explorer tries to resolve the path again but it will not show any target path for some reason. There's still a difference in the shortcuts created by Cygwin in contrast to shortcuts created by U/WIN. I will try to figure out what it is. However, Explorer only changes the shortcut content only when you change it by yourself in the shortcu properies dialog. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple