Executing .bat files from bash

kulack@us.ibm.com kulack@us.ibm.com
Wed Mar 8 11:38:00 GMT 2000

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.

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

More information about the Cygwin mailing list