dealing with spaces in paths

Brian Dessent
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"


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list