  Other format: [Raw text]  Re: how to run a process from DOS
within a cygwin .bat file  Tom Dager wrote: > does someone knows
how to launch a cygwin shell and further commands > from DOS,
e.g with a help of a .bat file. > I had a look of cygwin.bat
file but I do not know the right syntax to > give the command to
the bash shell  Some thoughts:  1.  Bash can be started either
as a login shell or a non-login shell.  2.  Bash executes a
larger or smaller set of scripts based upon the     above.
These scripts need to be written in the Bash shell-scripting  3.
The choice of scripts is affected by environment variables
(notably     HOME) and/or by command-line arguments.  4.  There
is a command line option "-c" that might be just what you're
looking for:                  read from string.  If there are
arguments  after                 the  string, they are assigned
to the positional                 parameters, starting with $0.
If you need more than a one-liner, it should be possible to
write (generate?) a B