RE: Spaces in Paths

2005-03-28 Thread Stephan Mueller
PM To: cygwin@cygwin.com Cc: Buchbinder, Barry (NIH/NIAID) Subject: Re: Spaces in Paths Buchbinder, Barry (NIH/NIAID) wrote: > Changing > > program files >to > progra~1 >might also work. > --- It _might_, is true. But if you turn off short-filename g

Re: Spaces in Paths

2005-03-28 Thread zzapper
On Mon, 28 Mar 2005 12:50:12 -0800, wrote: >zzapper wrote: > >>Hi, >>Mysql has now moved under c:/program files/ >>My backup bash script will run correctly if I use the follwing syntax >>/cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params >>However it doesn't work if I

Re: Spaces in Paths

2005-03-28 Thread Linda W
Buchbinder, Barry (NIH/NIAID) wrote: Changing program files to progra~1 might also work. --- It _might_, is true. But if you turn off short-filename generation on NT file systems to speed up NTFS performance and reduce the space needed for directory entries, it won't: REGEDIT4 [HKEY_

Re: Spaces in Paths

2005-03-28 Thread Linda W
zzapper wrote: Hi, Mysql has now moved under c:/program files/ My backup bash script will run correctly if I use the follwing syntax /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params However it doesn't work if I try to load the above into a variable eg mysqldump='/cygdr

RE: Spaces in Paths

2005-03-28 Thread Buchbinder, Barry (NIH/NIAID)
At Monday, March 28, 2005 1:01 PM, zzapper wrote: > On Mon, 28 Mar 2005 12:42:58 -0500, wrote: >> >> Have you tried the following: >> >>mysqldump="/cygdrive/c/program files/mysql/MySQL Server >> 4.1/bin/mysqldump.exe""$mysqldump" $params >> >> Without the double-quotes around the actua

Re: Spaces in Paths

2005-03-28 Thread zzapper
On Mon, 28 Mar 2005 12:42:58 -0500, wrote: > >Have you tried the following: > >mysqldump="/cygdrive/c/program files/mysql/MySQL Server > 4.1/bin/mysqldump.exe" >"$mysqldump" $params > >Without the double-quotes around the actual call, the variable gets >split at spaces such that only th

Re: Spaces in Paths

2005-03-28 Thread Jean-Sebastien Trottier
On Mon, Mar 28, 2005 at 05:15:07PM +0100, zzapper wrote: > Hi, > > Mysql has now moved under c:/program files/ > > My backup bash script will run correctly if I use the follwing syntax > > /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params > > However it doesn't work

Re: Spaces in Paths

2005-03-28 Thread Andrew Schulman
> >> mysqldump='/cygdrive/c/program\ files/mysql/MySQL\ Server\ > >> 4.1/bin/mysqldump.exe' > >> > >> I get "/cygdrive/c/program\: No such file or directory..." > >> > >> Is this just hard luck? > > > >Nope, just the way the quoting rules work. You've already quoted the spaces > >by > >using th

Re: Spaces in Paths

2005-03-28 Thread zzapper
On Mon, 28 Mar 2005 11:34:12 -0500, wrote: >zzapper wrote: >> Hi, >> >> Mysql has now moved under c:/program files/ >> >> My backup bash script will run correctly if I use the follwing syntax >> >> /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params >> >> However it

Re: Spaces in Paths

2005-03-28 Thread Andrew DeFaria
Jonathan Arnold wrote: zzapper wrote: Hi, Mysql has now moved under c:/program files/ My backup bash script will run correctly if I use the follwing syntax /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params However it doesn't work if I try to load the above into a vari

Re: Spaces in Paths

2005-03-28 Thread Jonathan Arnold
zzapper wrote: Hi, Mysql has now moved under c:/program files/ My backup bash script will run correctly if I use the follwing syntax /cygdrive/c/program\ files/mysql/MySQL\ Server\ 4.1/bin/mysqldump.exe $params However it doesn't work if I try to load the above into a variable eg mysqldump='/cygd