delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/23/17:41:09

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
q=dns; s=default; b=lp1vwjoQwqVg7qAhCzmCypLo2luWYhFEZzFN2wLOSGw
upb4480KJqFlEdDgWcPb+7sWMtOT3+5jgIJrRCrEzHkxFP547GHyNau6nGFRwcbR
oS81UX54Jj/xeXNVM8tMS+B5mWOpdv6xKZp9SmlYwC0hj9pRF7odHlTZQRMGI72Q
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:references:in-reply-to:content-type:content-transfer-encoding;
s=default; bh=wzpQWug3pPmyHWBR0rp/hILyzm4=; b=duJz43/kJBkUTI6xS
gNabpOsvYcA6cpVP5LGxfZZUPL2lNsVfA6kwBlIOdcibo3Ahlwz66fM26plR/65M
Iidvno0mzCizK6wHV8DE1xJufZ2AZPUSfTRFDRsVry81rkiKNQw8MCOGET1yaxWk
D420KMhZI9xiwZDO0Fd0J7tamo=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=AWL,BAYES_20,FREEMAIL_FROM,KAM_COUK,SPF_PASS autolearn=no version=3.3.2
X-HELO: out.ipsmtp2nec.opaltelecom.net
X-SMTPAUTH: drstacey AT tiscali DOT co DOT uk
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApMBAOF3ClNPRtPu/2dsb2JhbAANTMFzgweBIYMZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQGsLaF3F45rFoQiAQOuCA
X-IPAS-Result: ApMBAOF3ClNPRtPu/2dsb2JhbAANTMFzgweBIYMZAQEBBDhAEQsYCRYPCQMCAQIBRRMIAQGsLaF3F45rFoQiAQOuCA
Message-ID: <530A78F0.2080302@tiscali.co.uk>
Date: Sun, 23 Feb 2014 22:40:48 +0000
From: David Stacey <drstacey AT tiscali DOT co DOT uk>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Change Directory
References: <530A75DA DOT 9040106 AT mail DOT com>
In-Reply-To: <530A75DA.9040106@mail.com>
X-IsSubscribed: yes

On 23/02/14 22:27, Todd Poole wrote:
> Getting confused on something. From bash terminal I can change 
> directory like so:
>
> $ cd /c/directoryname
>
> But if the directory has multi words it does not recognize the directory:
>
> $ cd /c/my directory name
>
> Is there a way to get cygwin to recognize multiple names in a directory?

Either surround the whole path in quotes, or use a backslash character 
'\' before each space:

     cd "/c/my directory name"
     cd /c/my\ directory\ name

Dave.


--
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