This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: running .bat files from bash
* 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
Thorsten
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/