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-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. How about

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

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 what worked fine for me

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. But this is

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

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 the

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 syntax looks correct.

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 mount command to

Re: dealing with spaces in paths

2007-01-10 Thread David Bear
posted mailed 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,

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=`cygpath -w