TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What’s the difference between COM and EXE extensions? (2008)

4 点作者 jqcoffey超过 3 年前

1 comment

simonblack超过 3 年前
<i>The header of an EXE file begins with the magic letters “MZ&quot;.</i> = Broken Link.<p>The &#x27;MZ&#x27; letters were the initials of the programmer who made the &#x27;EXE&#x27; format. I can&#x27;t remember his name today, though I used to know it 30 years ago. (&quot;Mike&quot;?? The &quot;Z&quot; part was an Italian surname, IIRC.) That &#x27;magic number&#x27; was following in the footsteps of many other programmers who began their file formats with &#x27;magic&#x27; letters or numbers.<p>In the UNIX world, there was a file called &#x2F;etc&#x2F;magic which contained a list of all the &#x27;magic numbers&#x27;, though this has been superseded by more modern compiled lists. To find what sort of file a particular file is, use the &#x27;file&#x27; command which accesses the same data as the previous &#x2F;etc&#x2F;magic file did.<p>file cli-32.exe<p>gives an answer<p>cli-32.exe: PE32 executable (console) Intel 80386, for MS Windows