Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <20010411202011.9069.qmail@web5101.mail.yahoo.com> Date: Wed, 11 Apr 2001 13:20:11 -0700 (PDT) From: SS Subject: Re: Running Unix Shell script from NT To: "Larry Hall \(RFK Partners, Inc\)" , cygwin AT cygwin DOT com In-Reply-To: <4.3.1.2.20010411143421.0207ca68@pop.ma.ultranet.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Yes, it worked ! I added the Cygwin bin directory to NT path. Thanks a bunch :) --- "Larry Hall (RFK Partners, Inc)" wrote: > At 02:16 PM 4/11/2001, SS wrote: > > >I have Cygwin on Win-NT. > >I have some unix shell scripts written in CYGWIN > >environment. How do I run the shell script directly > >from the NT command line(dos prompt), without > >opening cygwin? > >e.g., Script name = abcd > > Directory under Cygwin : /home/admin > > Directory wrt NT : > c:\cygwin\home\admin > > > >If I open cmd & "cd c:\cygwin\home\admin" & try to > >run "abcd" there, it does not recognize the script. > > >How can I achieve this? > > > > > > Replace "abcd" with "sh abcd" or "bash abcd". > > > > ------------------------- > > NOPE, DOES NOT WORK !! Tried sh abcd, bash abcd, > >../abcd, nothing works ! > > --------------------- > > > > Make sure sh or bash is in your path or otherwise > specify the full path to > sh or bash. This *will* work so long as sh or bash > can be found. > > > > Larry Hall > lhall AT rfk DOT com > RFK Partners, Inc. > http://www.rfk.com > 118 Washington Street (508) > 893-9779 - RFK Office > Holliston, MA 01746 (508) > 893-9889 - FAX > __________________________________________________ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/ -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple