TIP: Click on subject to list as thread! ANSI
echo: locuser
to: Bob Lawrence
from: Niels Petersen
date: 1996-10-18 21:00:02
subject: Cheep ewe for you, too

>> BTW, the ".exe" at the end is ignored, as far as I'm aware. BFN.
 >> Paul.

 >  NP> If you want the batch file to run GRUNGE.EXE then you need to
 >  NP> have the EXE extension otherwise if a GRUNGE.BAT exists then it
 >  NP> will run that instead of th execute. If ROY had called his BAT
 >  NP> file GRUNGE.BAT and it ran grunge with ut the EXE then it is a
 >  NP> great way of doing an endless loop .

 >   It checks COM, EXE... and then BAT for that very reason, I suppose.

I figured out why it runs the  BAT first on my machine. (got caught the other day)

If they are in different directories, and a directory is not specified in
the command, it depends on the directory order in the path.

As my path is

SET RAM=L:\
PATH %RAM%;%RAM%BAT; etc

it always finds the BAT first. :-(

BTW. The SET RAM= statement means that the same batch files will run on
     different machines, and I don't have to alter my BAT's if I
     move the Ramdrive on any machine.

Niels

--- FMail/386 0.98
* Origin: Pointing South * Tasmania * Australia * (3:711/934.22)
SEEN-BY: 670/213 711/934 712/610
@PATH: 711/934

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