how to run a .bat or .cmd file from bash prompt
Fri Sep 16 19:11:00 GMT 2011
To run a .bat or .cmd file, I can do this:
C:>mybat.bat or C:\>mycmd.cmd
In other words, I have to type two commands (one to get to the shell,
and another to run the .bat or .cmd file).
What I want is to write a shell script (bash), that will cd to a
directory, enter the dos cmd prompt and execute a .bat file and then
return to my bash shell.
I do not know if this is possible, have tried many things, but nothing
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin