TIP: Click on subject to list as thread! ANSI
echo: batpower
to: Michael Kleefeld
from: Paul Quinn
date: 2007-12-03 15:11:10
subject: replace

Hi! Michael,

On 02 Dec 07 23:31, you wrote to me:

 PQ>> Richard, I have a niggling feeling that MS-DOS 6.2x has a
 PQ>> 'replace' executable of its own.  Could you check your \DOS
 PQ>> directory, please? (If it's an .Exe then we're sweet as .Com
 PQ>> files are used first if there's duplicate names on the PATH,
 PQ>> depending where on the PATH they occur I guess too.)

 MK> On my good old DOS machine i found a tool named treplace.exe. First i
 MK> was irritated, same date but different size. But it's only packed by
 MK> PKLITE. After unpacking it has exact the same size of 3543 bytes. - I
 MK> don't remember from where it is, but surely from FidoNet. And i think
 MK> it was myself who make the rename, cause my DOS (NW,CO,DR) has an
 MK> executable with the name replace.exe.

Someone was keen to keep the (PKLITE-ed) copy under the 2k (disk) cluster
size, maybe. If it has the same date then it means you probably got it from
the same place (and archive) that I did: here, in this echo.  :)

IIRC, the way DOS looks for executable files is in the order: .Com, .Exe,
*.Bat in the current directory.  Then it looks in each directory in the
PATH using the same order: .Com, .Exe, *.Bat files.  So, theoretically, you
could have 3 files called "Replace" in any -one- directory but
Replace.Com would get executed the first (and only) time.  If wanted one of
the others, you need to enter the full name: either Replace.Exe or
Replace.Bat, to get them to execute.

Is that roughly correct?

Cheers,
Paul.

... Nobody can be just like me.  Even I have trouble.
--- GoldED+/LNX 1.1.5-31012
* Origin: Quinn's Post - Maryborough, Queensland, OZ (3:640/384)
SEEN-BY: 10/1 3 14/300 34/999 90/1 106/1 120/228 123/500 134/10 140/1 222/2
SEEN-BY: 226/0 236/150 249/303 261/20 38 100 1381 1404 1406 1410 1417 1418
SEEN-BY: 266/1413 280/1027 320/119 393/68 633/104 260 262 267 285 690/682 734
SEEN-BY: 712/848 800/432 801/161 189 2222/700 2320/100 105 200 2905/0
@PATH: 640/384 954 774/605 123/500 261/38 633/260 267

SOURCE: echomail via fidonet.ozzmosis.com

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