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: When are Windows Short Path Names required
Date:  Mon, 24 Oct 2005 11:30:04 +0100
Lines: 35
Message-ID:  <occpl1lckdvle5f09o1vl4a5s0c2vk5hic@4ax.com>
References:  <gf4ll19t24s5el791n26rudlum24i066ot@4ax.com> <lebnl1thgfncfg24fmc959nm75o9jtcpp7@4ax.com> <435C2A4A.C4D58EA5@dessent.net>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
X-IsSubscribed: yes

On Sun, 23 Oct 2005 17:26:50 -0700,  wrote:

>zzapper wrote:

>
>Sometimes it can be hard, especially when you are dealing with both
>Cygwin and non-Cygwin programs, because the quoting rules differ.  But
>it is always possible, and I can't believe that there exists a situation
>where you are actually forced to use the short filename.  If you have
>one, post it.
>
>Brian

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

(sja.exe is SQLYOG Job Agent)

dirbackup="c:/backup/dosh/"


eval filedate=$(date.exe '+%d%b%y')

ls -l c:/backup/dosh/doshautoexport.sql

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


-- 
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/


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

