delorie.com/archives/browse.cgi | search |
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=gwqUWYIe1WaeAAcVgUJLEeSCKKM7QSPOEFalqWZjhMn | |
M9WJy8LLSpjvhLyemVTjIOYzCsoLsQsa6jeOKy2Opil/p7DzNRaOa/o5sCvK9/sl | |
aPVaotG7PlvkiKO3D90uzkEvBtJJDTCzh0/iOi4pQb9bIWEUMFvpkN+f9NWYH05w | |
= | |
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=r1nAtN0iqGthPfwjsBfAmRyt+FQ=; b=tUkxUIjVRP/KheIq/ | |
/+Bgf8httBdQoyFhomsST/4QBI3Ykg+bg6Qt87WLq/X2cmduF25oevqBbCNBrXQa | |
LACYrRZMGj79TWZuZZvK2l6zpE2M3SHReiVyV7kr/K4vFtBsrbQuLEvVdGJPntCp | |
f9+jDx2LGdW/mMdhzSimf+vpfU= | |
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.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mout.gmx.net |
Message-ID: | <530B606D.9010304@mail.com> |
Date: | Mon, 24 Feb 2014 10:08:29 -0500 |
From: | Todd Poole <tpoole AT mail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; 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> <530A78F0 DOT 2080302 AT tiscali DOT co DOT uk> <530B5FEF DOT 4080604 AT redhat DOT com> |
In-Reply-To: | <530B5FEF.4080604@redhat.com> |
X-IsSubscribed: | yes |
Thanks to all. I was able to get it to work with "/c/my directory name" Todd Poole On 2/24/2014 10:06 AM, Eric Blake wrote: > On 02/23/2014 03:40 PM, David Stacey wrote: >> 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 > > Or use zsh instead of bash (zsh auto-tries concatenating multi-argument > names into a single-argument directory containing spaces), or write a > bash function for cd that tries 'command cd "$*"' when $# > 1. > -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |