Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Reply-To: From: "Sergio Del Rio" To: Subject: Problems with .EXE files overriding shell scripts in PATH. Date: Wed, 25 Apr 2001 12:12:04 -0700 Message-ID: <000001c0cdbb$9dbcabe0$01de6f0a@CSDR.CA> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 For the most part, all shell scripts that I have are found by bash if they are in the PATH. I am trying to write a script that overrides an existing SQLPLUS.EXE file that is also in the path. I created a script called sqlplus and placed it into /usr/local/bin which is the first thing in the path. What I notice is that the sqlplus shell script is not getting executed at all, the system is executing the SQLPLUS.EXE program which is found later on in the path. Why does this happen? How can I get around it? Regards, Sergio Del Rio Templates 4 Business Inc. Cell: (604) 788-3604 Fax: (604) 582-7877 -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple