RE: Calling shell script from DOS

2006-01-27 Thread Herb Martin
> > I have installed Cygwin. I want to invoke a shell > > script from the DOS/Windows command prompt (instead of > > opening Cygwin Window first and calling it from > > there). How can I do this? > > In addition to what others said, use "bash -c" instead of > "bash" to honor > the shebang ("#!")

Re: Calling shell script from DOS

2006-01-27 Thread Igor Peshansky
On Thu, 26 Jan 2006, Pinaki Mukherjee wrote: > I have installed Cygwin. I want to invoke a shell > script from the DOS/Windows command prompt (instead of > opening Cygwin Window first and calling it from > there). How can I do this? In addition to what others said, use "bash -c" instead of "bash"

RE: Calling shell script from DOS

2006-01-27 Thread Brett Serkez
> I have installed Cygwin. I want to invoke a shell > > script from the DOS/Windows command prompt (instead of opening > > Cygwin Window first and calling it from there). How can I do this? > > > > Thanks for any help. > > The following seems the naive way -- someone else may offer other >

RE: Calling shell script from DOS

2006-01-27 Thread Herb Martin
> I have installed Cygwin. I want to invoke a shell > script from the DOS/Windows command prompt (instead of > opening Cygwin Window first and calling it from > there). How can I do this? > > Thanks for any help. The following seems the naive way -- someone else may offer other options: Make the

Re: Calling shell script from DOS

2006-01-27 Thread Ismael Valladolid Torres
David Christensen escribe: > Pinaki Mukherjee wrote: > > I have installed Cygwin. I want to invoke a shell > > script from the DOS/Windows command prompt (instead of > > opening Cygwin Window first and calling it from > > there). How can I do this? > > Thanks for any help. > > This is a batch file

RE: Calling shell script from DOS

2006-01-26 Thread David Christensen
Pinaki Mukherjee wrote: > I have installed Cygwin. I want to invoke a shell > script from the DOS/Windows command prompt (instead of > opening Cygwin Window first and calling it from > there). How can I do this? > Thanks for any help. This is a batch file that I use to launch a Bash script that ba