Solved

Expansion

Posted on 1998-11-09
3
149 Views
Last Modified: 2010-04-27
Why do exe files have signature "MZ" ?      What is the expansion for "MZ" ?
0
Comment
Question by:jameen
3 Comments
 

Expert Comment

by:Nanos
ID: 1012271
Please explain more on what you mean.. what is this signature?
0
 
LVL 10

Accepted Solution

by:
MasseyM earned 100 total points
ID: 1012272
The MZ are initials fo one of Microsoft's lead programmers that was instrumental in the compilation of code.  

Check this article:
http://www-personal.monash.edu.au/~damcc5/doswin/dosexec.htm
0
 
LVL 3

Expert Comment

by:vikiing
ID: 1012273
As Massey said, they're the initials of the guy's name who worked on that matter at Microstuff (some centuries ago).

The main purpose of those letters "MZ" that appear as the two first bytes of every .EXE file, is to differentiate the .EXE from a .COM file.

Althoug both of them are binary files, and whose contents are intended to be executed directly by the machine (in fact, both of them contain binary instructions understood by the processor), they receive different treatment. A real .EXE file is slightly different from a .COM

If you RENAME a .COM file as if it were a .EXE, operating system ignores that fact, 'cause it doesn't regard of extension itself (.COM / .EXE). When file is loaded into memory, op.sys. checks the first two bytes, if they are "MZ", file is treated as a .EXE one; if not, file is treated as .COM


0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What do we know about Legacy Video Conferencing? - Full IT support needed! - Complicated systems at outrageous prices! - Intense training required! Highfive believes we need to embrace a new alternative.
In the modern office, employees tend to move around the workplace a lot more freely. Conferences, collaborative groups, flexible seating and working from home require a new level of mobility. Technology has not only changed the behavior and the expe…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question