X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Eric Blake Subject: Re: cd to the path including space. Date: Thu, 8 Jan 2009 16:46:26 +0000 (UTC) Lines: 33 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit User-Agent: Loom/3.14 (http://gmane.org/) 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 Hongyi Zhao gmail.com> writes: > > Hi all, > 1- I only know that use the following command to obtain the the above > path's stem: > > findtexmf psfonts_t1.map cd "$(cygpath -u "$(findtexmf psfonts_t1.map)")" > > 2- In the cygwin/bash, the path's delimitor is / instead of \. cygpath takes care of that for you > > 3- In the cygwin/bash, if the space are included in the path, it will > be troublesome. quoting the cygpath command substitution takes care of that for you > > 4- Furthermore, the cygwin use the following path as the initial part > of its path: > > /cygdrive/c/... cygpath takes care of that for you -- Eric Blake -- 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/