running .bat files from bash

Thorsten Kampe thorsten@thorstenkampe.de
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

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/



More information about the Cygwin mailing list