www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1995/05/25/10:35:10

Date: Thu, 25 May 1995 15:25:30 +0100
From: Thomas Eifert <EIFERT AT reze-1 DOT rz DOT rwth-aachen DOT de>
Subject: Re: DJGPP crashes
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii), djgpp AT sun DOT soe DOT clarkson DOT edu
Reply-To: eifert AT rz DOT rwth-aachen DOT de
Organization: Rechenzentrum RWTH Aachen

> > 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 -


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