running .bat files from bash

Thorsten Kampe
Mon Dec 20 17:25:00 GMT 2004

* Donal Murtagh (2004-12-15 21:10 +0100)
> I've noticed that if I want to run a .bat file in bash I have to cd to the
> directory it's in first in order for it to run properly
> For example, if I want to run c:\foo\bar.bat I have to use:
> cd /cygdrive/c/foo
> bar.bat
> if I try
> /cygdrive/c/foo/bar.bat

cygstart /cygdrive/c/foo/bar.bat


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list