Hi
14 Sep 2001, "Samuel W. Heywood" <[EMAIL PROTECTED]> wrote:
>>>> C:\4.BAT [1] Invalid path "MZ@k@a@- /,"
>>>> com and exe are executed.
>>>> bat is INTERPRETED !!!
>> SH> As an experiment I re-named DR.COM to DR.BAT and found that part
>> SH> of the program would still run!
>> How did you find that ??
SH> Here is a screen capture:
SH> -----------------------------------
C:\UTIL>> ren dr.com dr.bat
C:\UTIL>> dr
C:\UTIL>> iDIRMAGIC (C) Copr. 1988 ZD Co
SH> Command or filename not recognized
C:\UTIL>> Michael J. Mefford
SH> Command or filename not recognized
C:\UTIL>>
SH> -----------------------------------
SH> BTW, Michael J. Mefford is the program author, and his name appears
SH> in the program output when the program is run normally and named as
SH> DR.COM
coincidence ...
the first 2 lines contain the name of the program and the name of the
author.
When you rename to bat the first line is echoed to the screen by
command.com
idirmagic is no valid command, so an errormessage us issued, and
command.com contiunes.
Michael is echoed, and executed, again no valid command.
After that strange non ascii chars appear, and command.com aborts.
Try it with a exe file.
There the effect is more noticeable !
SH> Part of the program ran.
no
part of command.com ran (and tried to interpret a part of your file)
SH> My command.com did generate some kind of error, "Command or filename
SH> not recognized", but it is obvious that the other output did not come
SH> from command.com.
NO !!!
it did come from command.com
try to add a @ as the first char of your bat.
it will not echo the name of the program, but the error message will
remain.
Simply because the @ means that command.com should not echo back the
command.
SH> Sam Heywood
CU, Ricsi
--
|~)o _ _o Richard Menedetter <[EMAIL PROTECTED]> {ICQ: 7659421} (PGP)
|~\|(__\| -=> New members urgently required for Suicide Club <=-