"BeeJ" <nospam@spamnot.com> escribió en el mensaje
news:jtg4tt$mv3$1@dont-email.me...
> Mayayana was thinking very hard :
>> BAT - text
>> COM - 16-bit executable
>> EXE, DLL, SCR, OCX - 32 bit executable. "portable executable".
>> LNK - a glorified text file.
>> CMD - text. same as BAT?
>> MSI - structured storage file, like DOC.
>>
>> You might want to look into PE file format. You might
>> also need to define what "executable" means for you.
>> You seem to define it as any file that results in something
>> dynamic happening when it's clicked. BAT, VBS, JS, MSI all
>> fit that description, but they're not normally thought of
>> as executable.
>
> Those built-ins that when double-clicked start something running.
>
> Not sure if a JS or VBS would be considered built-in like COM, EXE, LNK
> and BAT. Sort of a gray area to me. That is why I was looking for a
> clear definition from MS if something like that exists.
>
> Again, associations that are set like .BAS or .DOC I do not consider as
> built-in but I do handle them as associations.
It's a problem to figure a definition. If you say "files that have machine
code inside", you would leave the *.bat and *.lnk, if you say "files that
make something to happen without calling other file", almost no file will
meet that description because the exes usually calls Dlls and other files.