Re: Windows executables, was Free x86 C compiler wanted



On 2007-04-13, kenney@xxxxxxxxxxxxxxxxxxx <kenney@xxxxxxxxxxxxxxxxxxx> wrote:
Also, I believe that at
least the later versions of DOS and most Windows will load EXE
files with a COM extension. That was done for FORMAT, for
example.

DOS decided what an executable format actually was by reading a header
in the program IIRC. The file designation COM, EXE etc. was only used to
decide what was executable and what was data. I don't know when it was
introduced but IIRC Windows 3.1 had a list of executable file types that
could be edited by the user.

Afaik Windows still has this in principle. However I don't know what
the recent SP2 changes did to this. The list describes which file
extensions are to be handled by the system (the core shell), and the
system itself decides

A lot of the worm activity was related to this list (that listed among
others .pif .scr .vbs and many more), because this way one could
circumvent Exchange/Outlook restrictions on .exe, since the kernel
would also execute the .scr, AND outlook wouldn't display known
extensions.
.



Relevant Pages

  • Re: Executable programs
    ... Windows really is the *only* one that relies on ... However many people, even in Linux, continue to use file ... extensions simply because it's a convenient method of quickly ... you execute it, typically. ...
    (comp.os.linux.setup)
  • RE: Religion... was RE: [Full-Disclosure] Re: January 15 is Personal Firewall Day, help the cause
    ... Actually the file type tag (.exe) has very little to do with whether a files ... On Windows NT and later systems, there is metadata attached to each file ... which includes whether it has execute permission or not. ... The social engineering required to do the same on Linux is an insurmountable ...
    (Full-Disclosure)
  • Re: how to compile project for CE 5.0
    ... based on a Smart Device project template, ... cannot just take a desktop-targeted EXE and run it on Windows CE. ... But when i execute the file on my PC, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: how to compile project for CE 5.0
    ... But when i execute the file on my PC, ... My project is a Windows CE 5.0 project. ... Is there a way to generate an exe in local hard disk, ... Did you install the correct SDK for your device? ...
    (microsoft.public.dotnet.framework.compactframework)
  • Initiating ActiveX EXE from ASP in Windows 2003 (IIS6)
    ... Windows 2003 and the code does not work anymore. ... Instance of the dll is passed to the exe as a parameter. ... if it is possible to execute such code. ...
    (microsoft.public.windows.server.general)