X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: Date: Fri, 23 May 2008 11:15:08 -0400 From: "Gustavo Seabra" To: cygwin AT cygwin DOT com Subject: cd not following windows shortcuts MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi All, I wonder if 'cd' in Cygwin is supposed to follow windows shortcuts. According to this message: http://cygwin.com/ml/cygwin/2005-08/msg00546.html I'd assume it is. However, I'm seeing the following in my system; In my $HOME dir (Cygwin) I have a Cygwin-symbolic link to my "Desktop" (windows folder), and it works just fine: 11:09:56 [~]$ ls Desktop@ My Documents@ local/ temp/ work@ 11:09:56 [~]$ cd Desktop 11:10:34 [Desktop]$ So far, so good. Now, in the desktop, I have a windows shortcut to a personal directory: 11:10:34 [Desktop]$ ls CHM 3400.lnk* 11:10:36 [Desktop]$ The problem is that, if I try to cd into that directory, it doesn't work: 11:13:33 [Desktop]$ cd CHM\ 3400.lnk bash: cd: CHM 3400.lnk: Not a directory 11:13:36 [Desktop]$ Right, it isn't a directory. But shouldn't Cygwin convert the path and follow it just the same? Is there something wrong with the behavior I'm seeing? Thanks a lot, Gustavo. -- 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/