This is the mail archive of the cygwin 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: Moving to the Desktop


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/


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