Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 MIME-Version: 1.0 CC: cygwin AT cygwin DOT com Subject: Re: When are Windows Short Path Names required References: <435C2A4A DOT C4D58EA5 AT dessent DOT net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/