This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Help changing dir with spaces...


At 12:56 PM 2/27/2002, Jonathan Gift wrote:
>Hi,
>
>I'm very familiar with Linux and new to Cywin, but one of my first
>priorities is to mobe around the Bash shell. The only really pressing matter
>is how to move to the folders under WXP: C:\Documents and settings
>
>I can move to C:\Work or C:\tmp but anything with spaces it balks at. Since
>I can't change XP's default, is there a way to get Bash to accept the space?


I'm not sure I agree with your supposition that there isn't a way to change
XP's defaults here but that's irrelevant.  You need to escape the spaces to
make it work for bash.  Use '\' before the space or quote the whole path 
like you'd have to do using cmd.exe.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]