delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <42483204.9050009@buddydog.org> |
Date: | Mon, 28 Mar 2005 11:34:12 -0500 |
From: | Jonathan Arnold <jdarnold AT buddydog DOT org> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b) Gecko/20050202 MultiZilla/1.7.0.2d |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Spaces in Paths |
References: | <fuag41pmagputqngs9robi6f1tv2ckk1r6 AT 4ax DOT com> |
In-Reply-To: | <fuag41pmagputqngs9robi6f1tv2ckk1r6@4ax.com> |
X-IsSubscribed: | yes |
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. -- Jonathan Arnold (mailto:jdarnold AT buddydog DOT org) Amazing Developments http://www.buddydog.org I feel like a fugitive from the law of averages. - William H. Mauldin -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |