Change Directory

David Stacey drstacey@tiscali.co.uk
Sun Feb 23 23:35:00 GMT 2014


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



More information about the Cygwin mailing list