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

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: <4.3.1.2.20010411140918.020056d0@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Wed, 11 Apr 2001 14:10:33 -0400
To: SS <fully_technical AT yahoo DOT com>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Running Unix Shell script from NT
In-Reply-To: <20010411180538.20238.qmail@web5101.mail.yahoo.com>
Mime-Version: 1.0

At 02:05 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".


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


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