Mail Archives: djgpp/1995/05/25/10:35:10
> > I've encountered this problem so often, that we wrote a little program
> > (in TurboPascal, admittedly) that follows DOS's rules for finding
> > a program - You give a name and an absolute path is returned.
>
> There is a nice small program on SimTel called ``which'' like its Unix
> cousin, which does exactly this: /SimTel/msdos/dirutil/shwhch10.zip.
> It will even print ALL of the programs with a given name you have on
> your PATH, when given an optional switch.
>
Hi Eli,
I didn't know that (apparently not so many people do).
The posted code was one result of a lecture on how DOS
evaluates its path, and with respect to the perpetual resurrection
of that problem I thought it worth posting. Perhaps it could be included
in the binutils, so that everyone can immediately check whether there's
another go32 somewhere on disk ?
Thomas
- Raw text -