Hi
14 Sep 2001, "Samuel W. Heywood" <[EMAIL PROTECTED]> wrote:
>> TM> but didn't really know if that extended to .BAT.
>> it does not
>> C:\4.BAT [1] Invalid path "MZ@k@a@- /,"
SH> The above indicates that a part of the program actually ran,
SH> i.e., a part of the program designed to output an error message.
no
the error is given by your command shell (usually command.com)
batch files are extremely simple interpreted files.
Every line contains a command a remark (; rem or empty line)
the above error shows that your command shell tries to execute the command
given in the first line. But it fails, because there's no valid command.
Like if you enter sam heywood into a Commodore 64, it will issue a Syntax
Error ? because sam heywood is no valid command.
>> com and exe are executed.
>> bat is INTERPRETED !!!
SH> As an experiment I re-named DR.COM to DR.BAT and found that part of
SH> the program would still run!
How did you find that ??
SH> It ran the part of the program that identifies itself to the user.
copy the output here ...
I'm sure that it did *NOT* run, but that your command.com generated some
error.
(command.com WILL echo the first line to screen, but this does not indicate
that the program itself run ! this is simply part of the error message)
SH> Sam Heywood
CU, Ricsi
--
|~)o _ _o Richard Menedetter <[EMAIL PROTECTED]> {ICQ: 7659421} (PGP)
|~\|(__\| -=> Forewarned is forearmed <=-