Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Johan & Lydia Holtman" To: Subject: B20.1 Can't execute shell scripts Date: Wed, 22 Sep 1999 19:01:29 +0200 Message-ID: <01bf051c$1d7519e0$0101a8c0@desktop> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01BF052C.E0FDE9E0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.71.1712.3 X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 ------=_NextPart_000_0008_01BF052C.E0FDE9E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, Suppose I have a very simple script (ii.sh) with an echo "Hi there". Executing it (after a chmod) gives: bash: file://d/unixtools/ii.sh: No such file or directory My path is: file://d/unixtools:/d/CYGNUS~1/CYGWIN~1/H-I586~1/bin:/c/WINNT/SYSTEM32 etc,, including '.'. Alternative II: ./ii.sh Gives the same error: No such file or directory. ONLY by executing "bash ii.sh" or "sh ii.sh" the command is executed. PLEASE HELP. This is the first problem in years I've using cygwin. By the way: I run in a Windows2000 environment. Please reply also? via e-mail. I don't read newsgroups by default. = Please send a copy to johan DOT holtman AT achmea DOT nl. Thanx, regards, Johan Holtman ------=_NextPart_000_0008_01BF052C.E0FDE9E0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

Suppose I have a very simple = script=20 (ii.sh) with an echo "Hi there".
Executing it (after a chmod)=20 gives:

   bash: file://d/unixtools/ii.sh: No such = file or=20 directory

My path is:

  file://d/unixtools:/d/CYGNUS~1/CYGWIN~1/H-I586~1/bin:/c/WINNT/SYST= EM32
etc,,=20 including '.'.

Alternative II:

  ./ii.sh

Gives = the=20 same error: No such file or directory.

ONLY by executing "bash = ii.sh" or=20 "sh ii.sh" the command is executed.

PLEASE HELP. This is the = first=20 problem in years I've using cygwin.

By the way: I run in a = Windows2000=20 environment.

Please reply also? via e-mail. I don't read = newsgroups by=20 default. Please send a copy to johan DOT holtman AT achmea DOT nl.

Thanx,=20 regards,
Johan Holtman



------=_NextPart_000_0008_01BF052C.E0FDE9E0--