From: sandmann AT clio DOT rice DOT edu (Charles Sandmann) Message-Id: <10104150007.AA18304@clio.rice.edu> Subject: Re: Stub trying to find COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE! To: eliz AT is DOT elta DOT co DOT il Date: Sat, 14 Apr 2001 19:07:28 -0500 (CDT) Cc: ams AT ludd DOT luth DOT se (Martin Str|mberg), djgpp-workers AT delorie DOT com In-Reply-To: <6480-Sat14Apr2001202321+0300-eliz@is.elta.co.il> from "Eli Zaretskii" at Apr 14, 2001 08:23:22 PM X-Mailer: ELM [version 2.5 PL2] Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > > truename("A:\CWSDPMI.EXE") > > Stub tries to exec CWSDPMI from the same place where df.exe was found. > > > truename("c:\fdos\bin\CWSDPMI.EXE") > > Stub tries to exec CWSDPMI from the first directory on PATH. > > > truename("a:\CWSDPMI.EXE") > > Stub tries to exec CWSDPMI from the second directory on PATH. > > > truename("COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE") > > Don't know where does this come from. > > > truename("CWSDPMI.EXE") > > Stub tries to exec CWSDPMI from the current directory (and succeeds). > > Note that call with "COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE" above! Is > > that really intentional? > > Can you tell if this call is coming from the stub, and if so, from > where, exactly? I'd be interested in the output of a "set" command (and even better yet, a memory dump of the environment block). It appears the stub somehow interprets "COMSPEC=A:\COMMAND.COM" as part of the path. Does COMSPEC appear directly after the path? If not, I don't see how this could come from the stub.