delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/06/16/05:38:43

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.8 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,PLING_QUERY,RCVD_IN_JMF_BL,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <20100616183840.404@binki>
Date: Wed, 16 Jun 2010 18:38:40 +0900
From: wynfield AT gmail DOT com
To: <cygwin AT cygwin DOT com>
Subject: Re: Hello! I can't get to c:\Program Files using c:\Program/ Files\ any suggestions?
In-reply-to: Your message of Wed, 16 Jun 2010 09:28:51 +0200 <hv9ufo$12h$1@dough.gmane.org>
References: <4C17B0BA DOT 10607 AT caltech DOT edu> <hv9ufo$12h$1 AT dough DOT gmane DOT org>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Thorsten, don't use Microsoft Windows style of pathnames!  Use POSIX compliant
pathnames.

E.g. Do the following
$  cd /cygdrive/c/Program\ Files

or alternatively try
$  cd "`cygpath -u "C:\Program Files"`"

Note the backslash is to escape the space in the pathname in the 1st case, quotes
in the 2nd case.
   
Re:Thorsten Kampe <thorsten AT thorstenkampe DOT de> wrote:
> 
> "cd c:\Program/ Files\" doesn't work and never worked
> "cd 'c:\Program Files'" does work and always worked
> 
> Thorsten

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019