delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/14/20:11:02

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

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

- Raw text -


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