This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

B20.1 Can't execute shell scripts


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.holtman@achmea.nl.

Thanx, regards,
Johan Holtman




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]