delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/15/03:56:26

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200104150756.JAA28730@mother.ludd.luth.se>
Subject: Re: Stub trying to find COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE!
To: djgpp-workers AT delorie DOT com
Date: Sun, 15 Apr 2001 09:56:07 +0200 (MEST)
Cc: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
In-Reply-To: <10104150007.AA18304@clio.rice.edu> from "Charles Sandmann" at Apr 14, 2001 07:07:28 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

According to Charles Sandmann:
> 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.

set output:

PATH=c:\fdos\bin;a:\
COMSPEC=A:\COMMAND.COM
DJGPP=d:/djgpp/djgpp.env

Dump of environment block:

=d 3446:0
3446:0000  50 41 54 48 3D 63 3A 5C-66 64 6F 73 5C 62 69 6E   PATH=c:\fdos\bin
3446:0010  3B 61 3A 5C 00 43 4F 4D-53 50 45 43 3D 41 3A 5C   ;a:\.COMSPEC=A:\
3446:0020  43 4F 4D 4D 41 4E 44 2E-43 4F 4D 00 44 4A 47 50   COMMAND.COM.DJGP
3446:0030  50 3D 64 3A 2F 64 6A 67-70 70 2F 64 6A 67 70 70   P=d:/djgpp/djgpp
3446:0040  2E 65 6E 76 00 00 01 00-41 3A 5C 43 4F 4D 4D 41   .env....A:\COMMA
3446:0050  4E 44 2E 43 4F 4D 00 5C-43 4F 4D 4D 41 4E 44 2E   ND.COM.\COMMAND.
3446:0060  43 4F 4D 00 00 00 00 00-00 00 00 00 00 00 00 00   COM.............
3446:0070  00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00   ................


The sequence of truename calls for CWSDPMI.EXE:

A:\CWSDPMI.EXE
c:\fdos\bin\CWSDPMI.EXE
a:\CWSDPMI.EXE
COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE
DJGPP=d:/djgpp/djgpp.env\CWSDPMI.EXE
CWSDPMI.EXE
CWSDPMI.EXE
CWSDPMI.EXE


Right,

						MartinS

- Raw text -


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