www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/22/13:06:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: "Johan & Lydia Holtman" <jholtman AT dds DOT nl>
To: <cygwin AT sourceware DOT cygnus DOT com>
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
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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR></HEAD>
<BODY bgColor=3D#c0c0c0>
<DIV><FONT face=3DArial size=3D2>Hi,<BR><BR>Suppose I have a very simple =
script=20
(ii.sh) with an echo "Hi there".<BR>Executing it (after a chmod)=20
gives:<BR><BR>&nbsp;&nbsp; bash: <A=20
href=3D"file://d/unixtools/ii.sh:">file://d/unixtools/ii.sh:</A> No such =
file or=20
directory<BR><BR>My path is:<BR><BR>&nbsp; <A=20
href=3D"file://d/unixtools:/d/CYGNUS~1/CYGWIN~1/H-I586~1/bin:/c/WINNT/SYS=
TEM32">file://d/unixtools:/d/CYGNUS~1/CYGWIN~1/H-I586~1/bin:/c/WINNT/SYST=
EM32</A><BR>etc,,=20
including '.'.<BR><BR>Alternative II:<BR><BR>&nbsp; ./ii.sh<BR><BR>Gives =
the=20
same error: No such file or directory.<BR><BR>ONLY by executing "bash =
ii.sh" or=20
"sh ii.sh" the command is executed.<BR><BR>PLEASE HELP. This is the =
first=20
problem in years I've using cygwin.<BR><BR>By the way: I run in a =
Windows2000=20
environment.<BR><BR>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.<BR><BR>Thanx,=20
regards,<BR>Johan Holtman<BR><BR><BR><BR></FONT></DIV></BODY></HTML>

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

- Raw text -


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