delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/26/10:08:11

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Wed, 26 Apr 2000 11:08:29 -0400
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: Cygwin 1.0: Error when launching MSDOS bat file from bash on Windows 2000
Message-ID: <20000426110829.A24669@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com,
"'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
References: <20000426131524 DOT 18539 DOT qmail AT web110 DOT yahoomail DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.1.12i
In-Reply-To: <20000426131524.18539.qmail@web110.yahoomail.com>; from earnie_boyd@yahoo.com on Wed, Apr 26, 2000 at 06:15:24AM -0700

On Wed, Apr 26, 2000 at 06:15:24AM -0700, Earnie Boyd wrote:
>--- "Berche, Guillaume" <Guillaume DOT Berche AT mkms DOT xerox DOT com> wrote:
>> Chris,
>> 
>> > And, if cygwin invokes the MSDOS shell using this path:
>> > 
>> > command.com /foo/bar/blaz/blat.bat
>> > 
>> > what kind of behavior would you predict?
>> 
>> Well when experimenting it seems that it does not work because it launches a
>> new interactive MSDOS command shell instead of interpreting the bat file.
>> However the command
>> cmd.exe /C /foo/bar/blaz/blat.bat seems to work fine with both relative and
>> absolute paths on NT and Windows 2000. 
>> 
>
>WOW!!  I just tried starting bash for MSDOS CMD.EXE using forward slashes in
>the path and it worked!! :0  Too bad I can't cd to the directory using forward
>slashes.
>
>Chris, the problem isn't that foo.bat won't execute under Cygwin bash, it will.
> The problem is that it won't execute with relative paths.  Absolute paths work
>great.  I was able to emulate Guillaume's problem with his example.

Great.  Now all that somebody has to do is debug this and figure out why.

Or we can keep reporting the same problem over and over and complaining about
how it doesn't work.  Either way is fine with me.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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