Date: Tue, 29 Jul 1997 12:01:00 -0400 (EDT) From: "Art S. Kagel" To: altailji AT nmt DOT edu Cc: "djgpp AT delorie DOT com" Subject: Re: bash and scripts In-Reply-To: <33DD93F6.C828A179@geocities.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 28 Jul 1997, Wadhah Al-Tailji wrote: > Thanks to all who replied to my question about long filenames. Works > beautifully :) > > Now my next question. How can I get bash to recognize scripts? (i.e.: > run them when > I type in the file name). The script in question is executable and even > shows three 'x's > in ls -la. The only way I can get it to run the script is type 'bash > ' from my > DOS prompt. I assume that the script is in your current directory and that the current directory is not explicitely mentioned in you PATH variable nor is there an entry of ":.:" in the PATH. Remember that bash, unlike command.com, does not look in current directory unless it is in the PATH. Art S. Kagel, kagel AT bloomberg DOT com