Mail Archives: cygwin/1997/05/09/21:00:32
I'm stumped. From within a bash shell how do I execute a .bat script?
BTW, I don't want to have to do anything verbose like invoke cmd.com
with the name of the script, I just want to be able to type the name
of the script on the command line and/or be able to invoke it from
within another script (or via a "system" call).
It seems to me that the convention of #!/path/to/script/interpretor
as the first line won't work if the script is invoked from a normal
win32 environment. Basically what I'm looking for is the ability to
invoke scripts from any environment without regard to the environment
I'm in. How do I do this?
John
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -