X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Date: Thu, 30 Apr 2009 16:36:23 -0500 (CDT) From: Tim McDaniel To: cygwin AT cygwin DOT com Subject: Normalized directory name Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 I have access to a Windows 2003 system. Cygwin is running case-insensitive, so while the directory name is E:\CM\BuildUtil, I can type cd /cm/buildutil and get there (E:\CM is mounted on /cm). And if I do that particular cd, then pwd, /bin/pwd, and "echo $PWD" all say "/cm/buildutil". For tidiness, if nothing else, I'd like to get the normalized form, in much the same way how, in CMD, I can do E:\>cd cm\buildutil and have the prompt become E:\CM\BuildUtil> Emacs figures it out too. I Googled for the answer a while back, and I think the answer was "no way", but I was wondering whether the answer was correct, or whether someone has come up with a program or script to do better. -- Tim McDaniel, tmcd AT panix DOT com -- 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/