delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/19/11:52:54

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
From: ericblake AT comcast DOT net (Eric Blake)
To: cygwin AT cygwin DOT com
Subject: Re: Running Win32 apps in program files from a script
Date: Wed, 19 Oct 2005 15:51:37 +0000
Message-Id: <101920051551.9255.43566B8800054D6D0000242722007614380A050E040D0C079D0A@comcast.net>

> * zzapper (2005-10-19 14:21 +0100)
> > What ever I did, my script/app got upset by the spaces  in  path 'program 
> files' etc
> > 
> > I ended up using a mount
> > 
> > c:\program files\SQLyog Enterprise on /sqlyog type system (binmode)
> > 
> > Then could use
> > 
> > /sqlyog/sja.exe
> > 
> > That works just fine. Was that the best way?
> 
> quotes

Both symlinks and mount points can be used to create an
alternate spelling that does not have spaces; mount points
are slightly more efficient in that it doesn't have to open a
.lnk file to see where the link points to, but is based on
pure textual prefix matching.  However, both of those
methods, while commonly used (and quite useful), mask
the underlying problem that your use of quoting in the shell
is not correct.  You should provide examples of what you
tried, and how if failed, if you expect us to help show you
where your quoting was incorrect.  You may also want
to check out cygpath.

--
Eric Blake



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019