MS-DOS EXE
From Just Solve the File Format Problem
(Difference between revisions)
(Created page with "{{FormatInfo |formattype=electronic |subcat=Executables |extensions={{ext|exe}} }} '''MS-DOS EXE''' is an executable file format used mainly by MS-DOS. It is the successor...") |
|||
Line 4: | Line 4: | ||
|extensions={{ext|exe}} | |extensions={{ext|exe}} | ||
}} | }} | ||
− | '''MS-DOS EXE''' is an executable file format used mainly by [[MS-DOS]]. It is the successor to [[DOS executable (.com)|COM]]. | + | '''MS-DOS EXE''' is an executable file format used mainly by [[MS-DOS]]. It is the successor to [[DOS executable (.com)|COM]]. A number of other [[EXE|EXE formats]] are based on it. |
Its name has many variations, such as '''DOS MZ executable'''. It is also called '''MZ''', though that name might include hybrid formats ([[NE]], [[PE]], etc.) that also use the "MZ" signature. | Its name has many variations, such as '''DOS MZ executable'''. It is also called '''MZ''', though that name might include hybrid formats ([[NE]], [[PE]], etc.) that also use the "MZ" signature. |
Revision as of 20:47, 4 May 2014
MS-DOS EXE is an executable file format used mainly by MS-DOS. It is the successor to COM. A number of other EXE formats are based on it.
Its name has many variations, such as DOS MZ executable. It is also called MZ, though that name might include hybrid formats (NE, PE, etc.) that also use the "MZ" signature.
Identification
An MS-DOS EXE file begins with an ASCII signature of "MZ
". The 16-bit integer at offset 24 is usually (but apparently not always) less than 64.
It's not clear whether there is any completely reliable way to identify an MS-DOS EXE, except in the negative (i.e. it begins with "MZ", and is not a valid NE, PE, etc., file).
Links
- Wikipedia article
- MZ, from the OSDev Wiki
- http://www.delorie.com/djgpp/doc/exe/