TIP: Click on subject to list as thread! ANSI
echo: 4dos
to: BARRY BLOCK
from: TED MENKS
date: 1998-04-15 16:59:00
subject: Executable Files search order

Hi Barry,
(Monday April 13 1998 15:06) Barry Block to Ted Menks about: Question #1!
 BB>>> It would be cool if 4dos tried to load a btm before a bat.
 TM>> It does! I made two batches in the following order:
 TM>> :: TROEP.BAT echo this is the BAT. :: end
 TM>> :: TROEP.BTM echo this is the BTM. :: end
 TM>> Then when I typed TROEP, the answer was: this is the BTM.
 BB>      Nice, I mean cool. So...will it always do this (path aside)?
 BB>      Is it documented?
Please hold, BRB...  Yup, found it...
On the command-line press  *twice*, then select Reference / Executable 
Files and File Searches... The first two paragraphs will answer your 
estion.
If we read on, it will explain that 4Dos searches each directory in the path 
for executable files in the order: COM, EXE, BTM, BAT, and then the 
executable extensions. If nothing is found in the first dir, 4Dos moves on to 
the next, and tries all extensions again, in the aforementioned order.
 BB>      I just ran some tests. I got the same result as you, Ted.
 BB>      cool.
I'm glad to have been of Help, Barry. It seems to be a documented bug 
Mene Sakkhet Ur-Seveh,
  Ted Menks   Fido  : 2:2449/236.51 / 2:284/412.51
  PGPkeyID: 2048/1B2ACCED  1997/10/03 (available by RRQ)
... If at first you don't succeed, have somebody else do it for you!
--- 4Dos v6.01a ---
(2:2449/236.51)
---------------
* Origin: It's the 4Dos way! (Teddy's Land +49-5971-14966

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.