Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
To: cygwin@cygwin.com
From: zzapper <david@tvis.co.uk>
Subject:  Re: Spaces in Paths
Date:  Mon, 28 Mar 2005 17:45:07 +0100
Lines: 25
Message-ID:  <p2dg4152isoaf4nnqnu0hmtr4jcc1uakmp@4ax.com>
References:  <fuag41pmagputqngs9robi6f1tv2ckk1r6@4ax.com> <42483204.9050009@buddydog.org>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-Complaints-To: usenet@sea.gmane.org
X-Gmane-NNTP-Posting-Host: 241.119-84-212.ippool.ndo.com
X-Newsreader: Forte Free Agent 2.0/32.652
X-IsSubscribed: yes

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 doesn't work if I try to load the above into a variable
>> 
>> eg
>> 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 the ' character around it.  Either remove the \s or remove the 's.
Jonathon,
I believe I've tried all combinations! with single, double quotes, with and w/o backslashes



--
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/

