delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/11/14:43:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <005f01c0c2b6$71bcaa00$9533273f@ca.boeing.com>
From: "Michael A. Chase" <mchase AT ix DOT netcom DOT com>
To: "SS" <fully_technical AT yahoo DOT com>, <cygwin AT cygwin DOT com>
References: <20010411181614 DOT 436 DOT qmail AT web5105 DOT mail DOT yahoo DOT com>
Subject: Re: Running Unix Shell script from NT
Date: Wed, 11 Apr 2001 11:36:55 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400

It works fine for me with both sh and bash.  Is c:\cygwin\bin in the WinNT
PATH?

The next time you try this, please cut the whole sequence from the CMD.EXE
screen and paste it into a message so we can see exactly what is happening.
--
Mac :})
Give a hobbit a fish and he'll eat fish for a day.
Give a hobbit a ring and he'll eat fish for an age.
----- Original Message -----
From: "SS" <fully_technical AT yahoo DOT com>
To: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>; <cygwin AT cygwin DOT com>
Sent: Wednesday, April 11, 2001 11:16 AM
Subject: Re: Running Unix Shell script from NT


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



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019