This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Cygwin 1.0: Error when launching MSDOS bat file from bash on Windows 2000


On Wed, Apr 26, 2000 at 06:15:24AM -0700, Earnie Boyd wrote:
>--- "Berche, Guillaume" <Guillaume.Berche@mkms.xerox.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]