dealing with spaces in paths
Brian Dessent
brian@dessent.net
Thu Jan 11 15:58:00 GMT 2007
"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/
More information about the Cygwin
mailing list