From: EPA@datcon.co.uk (Edward Avis)
Subject: RE: Bat files in Bash
26 May 1998 11:36:09 -0700
Message-ID: <c=GB%a=TMAILUK%p=DCNET%l=EXCHANGE2-980526100722Z-1761.cygnus.gnu-win32@smtp.datcon.co.uk>
To: "'Kent.Henneuse@lutris.com'" <Kent.Henneuse@lutris.com>,
        "'gnu-win32@cygnus.com'" <gnu-win32@cygnus.com>

>Is there a way to execute DOS batch files from the bash shell? 

On NT you can do

bash$ cmd /c foo.bat

but on 95 you have to use command.com, which is a DOS program, which
bash won't handle very well.

You could get an "alternative" command processor, such as 4NT, or even a
native port of bash, and do:

bash$ 4nt /c foo.bat

or

bash$ native-sh command /c foo.bat

Convoluted, but it might just work... YMMV.

--
Ed Avis <http://members.tripod.com/~mave>
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
