X-Spam-Check-By: sourceware.org
From: "Herb Martin" <HerbM@learnquick.com>
To: <cygwin@cygwin.com>
Subject: RE: Calling shell script from DOS
Date: Fri, 27 Jan 2006 05:39:37 -0600
MIME-Version: 1.0
Content-Type: text/plain; 	charset="us-ascii"
Content-Transfer-Encoding: 7bit
In-Reply-To: <20060127062253.97104.qmail@web50102.mail.yahoo.com>
Message-ID: <EITR1QU-000FI4-H0@mail2.learnquick.com>
X-Sign-LQC: HerbM@learnquick.com/2006-01-27 05:39:58/<cygwin@cygwin.com>=slotsvco
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

> 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 shell (itself) the command and add the
script as a parameter...

	bash script-file-name

Worked for me.  Other command processors should
work too.

--
Herb Martin


--
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/

