Re: dealing with spaces in paths

2007-01-11 Thread Larry Hall (Cygwin)
Morgan Gangwere wrote: On 1/11/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: Brian Dessent wrote: > "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. >>

Re: dealing with spaces in paths

2007-01-11 Thread Morgan Gangwere
On 1/11/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: Brian Dessent wrote: > "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 wh

Re: dealing with spaces in paths

2007-01-11 Thread Larry Hall (Cygwin)
Brian Dessent wrote: "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 im

Re: dealing with spaces in paths

2007-01-11 Thread Brian Dessent
"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. Ho

Re: dealing with spaces in paths

2007-01-11 Thread Larry Hall (Cygwin)
David Bear wrote: Larry Hall (Cygwin) wrote: David Bear wrote: I'm attempting to script building mount points in order to handle spaces in file names. So I do something like this: homedir=`cygpath -w $USERPROFILE` mount -buf "\"$homedir\" $HOME/myh When I echo the mount command to the syntax

Re: dealing with spaces in paths

2007-01-10 Thread Morgan Gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Bear wrote: > On Wed, Jan 10, 2007 at 07:26:44PM -0700, Morgan Gangwere wrote: > David Bear wrote: I'm attempting to script building mount points in order to handle spaces in file names. So I do something like this: homedir=`c

Re: dealing with spaces in paths

2007-01-10 Thread David Bear
David Bear wrote: > I'm attempting to script building mount points in order to handle spaces > in file names. So I do something like this: > > homedir=`cygpath -w $USERPROFILE` > mount -buf "\"$homedir\" $HOME/myh > > When I echo the mount command to the syntax looks correct. > > However, whe

re: dealing with spaces in paths

2007-01-10 Thread Morgan Gangwere
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Bear wrote: > > I'm attempting to script building mount points in order to handle spaces in > > file names. So I do something like this: > > > > homedir=`cygpath -w $USERPROFILE` > > mount -buf "\"$homedir\" $HOME/myh > > > > When I echo the mou

Re: dealing with spaces in paths

2007-01-10 Thread David Bear
Larry Hall (Cygwin) wrote: > David Bear wrote: >> I'm attempting to script building mount points in order to handle spaces >> in file names. So I do something like this: >> >> homedir=`cygpath -w $USERPROFILE` >> mount -buf "\"$homedir\" $HOME/myh >> >> When I echo the mount command to the synta

Re: dealing with spaces in paths

2007-01-10 Thread Larry Hall (Cygwin)
David Bear wrote: I'm attempting to script building mount points in order to handle spaces in file names. So I do something like this: homedir=`cygpath -w $USERPROFILE` mount -buf "\"$homedir\" $HOME/myh When I echo the mount command to the syntax looks correct. However, when I actually run th

dealing with spaces in paths

2007-01-10 Thread David Bear
I'm attempting to script building mount points in order to handle spaces in file names. So I do something like this: homedir=`cygpath -w $USERPROFILE` mount -buf "\"$homedir\" $HOME/myh When I echo the mount command to the syntax looks correct. However, when I actually run the mount command via