Mail Archives: djgpp/1997/07/29/12:02:56
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
> <scriptname>' 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
- Raw text -