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: When are Windows Short Path Names required


zzapper wrote:

> /usr/local/sbin/jraynersqlzip: line 14: /cygdrive/c/Program\ Files/SQLyog\ Enterprise/sja.exe: No
> such file or directory
> 
> But a ls is just dandy

There's double quoting now.  My email wasn't quite correct, use one or
the other but not both:

foo=/path\ with\ spaces

or

foo="/path with spaces"

and then when you want to use $foo as a single word, use double quotes,
as in:

"$foo" arg1 arg2

Brian

--
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]