This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Executing .bat files from bash
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: Executing .bat files from bash
- From: kulack at us dot ibm dot com
- Date: Wed, 8 Mar 2000 13:37:21 -0600
On 03/07/2000 at 01:09:57 PM, Bob McGowan <rmcgowan@veritas.com> wrote:
I'll even patch bash if I have to.
The alias model works well, but if you have more dynamic batch files,
create a shell script of the name <file> for batch file <file>.bat.
The shell script does <file>.bat.
Done.
You can easily create a tool to automate this too. (left to the reader).
- For each component of the path variable.
- look for files named *.bat in that directory.
- Create a file of the same name without the extension in that directory.
- chmod to make it executable.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com