delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.1 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_64,RCVD_IN_CHINA,RCVD_IN_DNSWL_LOW,RCVD_NUMERIC_HELO,SPF_HELO_PASS,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Hongyi Zhao <hongyi DOT zhao AT gmail DOT com> |
Subject: | cd to the path including space. |
Date: | Fri, 09 Jan 2009 00:40:12 +0800 |
Lines: | 38 |
Message-ID: | <uiacm45co51e8tdbo2e6tnjqf34c7vre0m@4ax.com> |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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 want to jump to the following path with a cygwin/bash command: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7\fontconfig\cache In my case, I've the following issues: 1- I only know that use the following command to obtain the the above path's stem: findtexmf psfonts_t1.map this command will give the following result: C:\Documents and Settings\All Users\Application Data\MiKTeX\2.7\dvips\config\psfonts_t1.map So I must compose the destination directory based on this path. 2- In the cygwin/bash, the path's delimitor is / instead of \. 3- In the cygwin/bash, if the space are included in the path, it will be troublesome. 4- Furthermore, the cygwin use the following path as the initial part of its path: /cygdrive/c/... So, how can I can get my path and then cd to that path within cygwin/bash? I've tried a bit but failed. Regards, -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |