Moving to the Desktop

Chad J McQuinn huskerchad@insightbb.com
Mon Jan 24 11:12:00 GMT 2005


fergus@bonhard.uklinux.net wrote:

>What I'm actually after is something like
>
>   ~> cd `cygpath -D`
>
I think it will work with

cd "`cygpath -D`"

That's backticks inside double quotes. Windows makes it easier since (I 
think) quotes are not allowed in filenames. Beyond that, I think a quick 
and dirty procedure is to backslash anything that isn't alphanumeric; if 
it's special, it gets escaped, and if it's not special, then backslash 
doesn't hurt anything.

-Chad

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list