Trick cmd.exe of Windows XP to run cygwin Batch Script.
Spiro Trikaliotis
an-cygwin@spiro.trikaliotis.net
Sun Jan 4 17:10:00 GMT 2009
Hello,
* On Sun, Jan 04, 2009 at 06:20:20PM +0800 Hongyi Zhao wrote:
> I've some cygwin/bash scripts and I want to invoke them without log
> into the Cygwin's bash terminal. Is this possible?
d:\> bash -c ./myscript
Note that you might have to add the path to bash (c:\cygwin\bin\bash or
similar) in case it is not in your path. Also, you might want/need to
add --login or -l to the options of bash.
HTH,
Spiro.
--
Spiro R. Trikaliotis http://opencbm.sf.net/
http://www.trikaliotis.net/ http://www.viceteam.org/
--
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