This is the mail archive of the
mailing list for the Cygwin project.
Re: Running Unix Shell script from NT
- To: "SS" <fully_technical at yahoo dot com>, <cygwin at cygwin dot com>
- Subject: Re: Running Unix Shell script from NT
- From: "Michael A. Chase" <mchase at ix dot netcom dot com>
- Date: Wed, 11 Apr 2001 11:36:55 -0700
- References: <email@example.com>
It works fine for me with both sh and bash. Is c:\cygwin\bin in the WinNT
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.
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" <firstname.lastname@example.org>
To: "Larry Hall (RFK Partners, Inc)" <email@example.com>; <firstname.lastname@example.org>
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