delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/10/24/07:28:52

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: <435CC565.DB98EB45@dessent.net>
Date: Mon, 24 Oct 2005 04:28:37 -0700
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
CC: cygwin AT cygwin DOT com
Subject: Re: When are Windows Short Path Names required
References: <gf4ll19t24s5el791n26rudlum24i066ot AT 4ax DOT com> <lebnl1thgfncfg24fmc959nm75o9jtcpp7 AT 4ax DOT com> <435C2A4A DOT C4D58EA5 AT dessent DOT net> <occpl1lckdvle5f09o1vl4a5s0c2vk5hic AT 4ax DOT com>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com

zzapper wrote:

> See script below sja.exe is actually in program files, my kludge below was to use a mount (rather
> than the short name)

I don't see anything here that necessitates using a mount or 8.3.

> sjaprog="/sqlyog/sja.exe"

sjaprog="/cygdrive/c/program\ files/whatever/sja.exe"

> sjascript="c:/cygwin/usr/local/bin/sql/dosh-batch.xml"
> sjarun="$sjaprog $sjascript";
> $sjarun

"$sjaprog" $sjascript

OR

sjarun="\"$sjaprog\" $sjascript"
$sjarun

I fail to see the need for the variable $sjarun if its only function is
to be the command that's executed on the next line.

Brian

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