delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/01/10/13:45:05

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: Cygwin B20.1
10 Jan 1999 13:45:05 -0800 :
Message-ID: <78$w-yFKpfB.cygnus.gnu-win32@mike.franken.de>
References: <36964B9F DOT 329E58F7 AT utopia DOT poly DOT edu>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Gennady,

>Hello Everybody.
>
>     I have a batch file called build.bat. Now when I type in "build" I
>get "BASH.EXE: build: command not found", but "build.bat" works fine as
>expected. It seems that when bash is executing the command it doesn't
>process BAT files...

bash and all the other Unix tools never care for file extensions like
..bat or .com - they treat the filename as is, so you always have to use
the complete filename, when you want to run the file. One exception to
this rule are .exe files because of a patch to the cygwin dll.
The easiest way is to omit the file extension on all files - even on
..exe files.

[...]
>
>G.F.

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://aquarius.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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