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: dealing with spaces in paths


"Larry Hall (Cygwin)" wrote:

> homedir=`cygpath -w "$USERPROFILE"`
> mount -buf "$homedir" "$HOME"/myh
> 
> This is recreated from memory because I don't have access to Cygwin now.
> But this is essentially what worked fine for me last night.  Note, the
> quote around USERPROFILE is important.

How about simply:

mount -buf "$(cygpath -w "$USERPROFILE")" "$HOME/myh"

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]