Solved

Expansion

Posted on 1998-11-09
3
137 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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Moving your enterprise fax infrastructure from in-house fax machines and servers to the cloud makes sense — from both an efficiency and productivity standpoint. But does migrating to a cloud fax solution mean you will no longer be able to send or re…
Great sound, comfort and fit, excellent build quality, versatility, compatibility. These are just some of the many reasons for choosing a headset from Sennheiser.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now