This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Trick cmd.exe of Windows XP to run cygwin Batch Script.
- From: Spiro Trikaliotis <an-cygwin at spiro dot trikaliotis dot net>
- To: cygwin at cygwin dot com
- Date: Sun, 4 Jan 2009 12:07:31 +0100
- Subject: Re: Trick cmd.exe of Windows XP to run cygwin Batch Script.
- References: <r531m49nvsu311asr3g18jk74m5l104lch@4ax.com>
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/