delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/04/14/10:09:18

From: Martin Str|mberg <ams AT ludd DOT luth DOT se>
Message-Id: <200104141408.QAA08162@mother.ludd.luth.se>
Subject: Stub trying to find COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE!
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Sat, 14 Apr 2001 16:08:14 +0200 (MEST)
X-Mailer: ELM [version 2.5 PL2]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

FreeDOS is fun and educational. I put in print-outs for which paths
truename is called with.

Current directory is "D:\DJGPP\BIN" and PATH is "c:\fdos\bin;a:\".
I enter "a:df" and this is what I see:

truename("A:\DF.EXE")
truename("A:\DF.EXE")
truename("A:\DF.EXE")
truename("A:\CWSDPMI.EXE")
truename("c:\fdos\bin\CWSDPMI.EXE")
truename("a:\CWSDPMI.EXE")
truename("COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE")
truename("CWSDPMI.EXE")
truename("CWSDPMI.EXE")
truename("CWSDPMI.EXE")
truename("EMMXXXX0")
truename("A:DF.EXE")
truename("c:\cwsdpmi.swp")
truename("a:/emu387.dxe")

Now df runs, which results in more truename calls but they are mainly
uninteresting.

Note that call with "COMSPEC=A:\COMMAND.COM\CWSDPMI.EXE" above! Is
that really intentional? (I doubt that.)

Further note that the emulation library is only searched for at the
location where the program resides. Is that intentional? (I guess it
is.)

Comments?


Right,

						MartinS

- Raw text -


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