Hi
14 Sep 2001, "Thomas Mueller" <[EMAIL PROTECTED]> wrote:
TM> I knew DOS would run a .COM even if it were named .EXE, or an .EXE
TM> even if it were named .COM,
yes
TM> but didn't really know if that extended to .BAT.
it does not
C:\4.BAT [1] Invalid path "MZk�-��/,"
com and exe are executed.
bat is INTERPRETED !!!
TM> But I think DOS would not recognize .SCR or .PIF.
correct
SAM:
=== Begin file ===
> If you re-named these SCRs and PIFs to EXEs and tried to run them in
> DOS you would probably get the old "This program cannot be run in DOS
> mode" error message.
true with scr (which are exes)
not true for pif. (pif files are small files which contain configurations
for executables.)
=== End file ===
TM> I received one Snowhite message with a base64-encoded attachment
TM> midgets.scr, so I extracted it, thinking it might be a script file
TM> readable as plain text.
scr is exe
it stands for screensaver
TM> Subsequently I solved the puzzle of how COMMAND.COM in some cases, or
TM> some .COM files in OS/2, could exceed 65536 bytes. They were really
TM> misnamed .EXE files.
yes ... same with 4dos.com
it simply is done because some software could think that the command
processor is a com file.
TM> Actually it would be possible though not usual for a text file or
TM> legitimate .BAT file to begin with MZ.
sure if it loads any program starting with mz.
eg mzedit
CU, Ricsi
--
|~)o _ _o Richard Menedetter <[EMAIL PROTECTED]> {ICQ: 7659421} (PGP)
|~\|(__\| -=> Make love not war ... get married and do both <=-