CD Command and dirs with spaces

Earnie Boyd earnie_boyd@yahoo.com
Wed Mar 31 19:45:00 GMT 1999


---Dave Finnegan <dave@syncinc.com> wrote:
>
> I'm running B20 on NT w/ SP3 and find that the 'cd' command under
> Bash will not recognize directories with a space character in them.
> In particular c:\Program Files.
> 
> I've tried escaping the space char, double escaping it, quoting the
> dir, quoting and escaping, all to no avail.
> 
> Is this a bug?  Is there a workaround?

It does mention in the FAQ something about problems with directories
and files with spaces in them; however, when I do:

cd Program\ Files

OR I do:

cd "Program Files"

I don't have any problem with going to the directory.  BTW, I'm using
NT4SP3 and I'm using the 1998-12-3 build of the cygwin1.dll.
==
-                        \\||//
-------------------o0O0--Earnie--0O0o-------------------
--                earnie_boyd@yahoo.com               --
-- http://www.freeyellow.com/members5/gw32/index.html --
----------------------ooo0O--O0ooo----------------------

PS: Newbie's, you should visit my page.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com




More information about the Cygwin mailing list