<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Windows_Executable_File</id>
	<title>Windows Executable File - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://debianws.lexgopc.com/wiki143/index.php?action=history&amp;feed=atom&amp;title=Windows_Executable_File"/>
	<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Windows_Executable_File&amp;action=history"/>
	<updated>2026-05-13T01:53:18Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://debianws.lexgopc.com/wiki143/index.php?title=Windows_Executable_File&amp;diff=5061963&amp;oldid=prev</id>
		<title>imported&gt;EggPudding77777 at 07:24, 25 December 2025</title>
		<link rel="alternate" type="text/html" href="http://debianws.lexgopc.com/wiki143/index.php?title=Windows_Executable_File&amp;diff=5061963&amp;oldid=prev"/>
		<updated>2025-12-25T07:24:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Short description|Filename extension for a native executable program}}&lt;br /&gt;
{{redirect|.exe||Exe (disambiguation){{!}}Exe}}&lt;br /&gt;
{{Use dmy dates|date=January 2023|cs1-dates=y}}&lt;br /&gt;
{{Infobox file format&lt;br /&gt;
| name          = Windows Executable File&lt;br /&gt;
| icon          = Windows 11 executable.svg&lt;br /&gt;
| screenshot    = &lt;br /&gt;
| extension     = &amp;lt;code&amp;gt;.exe&amp;lt;/code&amp;gt;&lt;br /&gt;
| mime          = &amp;lt;code&amp;gt;application/vnd.microsoft.portable-executable&amp;lt;/code&amp;gt;&lt;br /&gt;
| magic         = Depends on the [[#File formats|file format]]&lt;br /&gt;
| owner         = [[Microsoft]]&lt;br /&gt;
| type          = Executable file&lt;br /&gt;
| genre         = [[Executable]] (Binary [[machine code]])&lt;br /&gt;
| container_for = [[DOS MZ executable|MZ]], [[New Executable|NE]], LX,  [[Linear Executable|LE]], [[Portable Executable|PE]], PE32+, W3, W4, DL, MP, P2, P3&lt;br /&gt;
| website       = &lt;br /&gt;
| open          = No&lt;br /&gt;
| url           = &lt;br /&gt;
}}&lt;br /&gt;
In [[Windows]], [[OS/2]], and [[DOS]], &amp;#039;&amp;#039;&amp;#039;.exe&amp;#039;&amp;#039;&amp;#039; is the [[filename extension]] for a file that is runnable as a native [[executable]] [[computer program]].&amp;lt;ref&amp;gt;{{cite web|url=https://fileinfo.com/extension/exe|title=.EXE File Extension|website=FileInfo - The File Extensions Database|publisher=Sharpened Productions|access-date=16 August 2019}}&amp;lt;/ref&amp;gt; Such a file is sometimes referred to an &amp;#039;&amp;#039;&amp;#039;EXE&amp;#039;&amp;#039;&amp;#039; {{endash}} as one historical way to identify a file extension is without the dot prefix and capitalized.&lt;br /&gt;
&lt;br /&gt;
== File formats ==&lt;br /&gt;
&lt;br /&gt;
Although the EXE [[file format]] has a common lineage across related operating system (OS) versions, the format was enhanced over time. Some amount of backward compatibility was supported in later versions but earlier versions cannot run an EXE formatted for a newer version. Formats include:&lt;br /&gt;
&lt;br /&gt;
;{{anchor|MZ}}DOS MZ executable: The [[DOS MZ executable]] format is used by [[MS-DOS]] compatible operating systems. This format is 16-bit.&lt;br /&gt;
&lt;br /&gt;
;{{anchor|NE}}New Executable: The [[New Executable]] (NE) format was introduced with the multitasking [[MS-DOS 4.0 (multitasking)|MS-DOS 4.0]] and also used by 16-bit [[OS/2]] and Windows. This format is 16-bit.&lt;br /&gt;
&lt;br /&gt;
;{{anchor|OS/2|LE|LX}}Linear Executable: The [[Linear Executable]] (LE) format is mixed 16/32-bit and was introduced with OS/2 2.0. [[VxD]] drivers on [[Windows 3.1x|Windows 3.x]] and [[Windows 9x]] also use this format. A 32-bit only version identified as LX was also introduced with OS/2 2.0 and runs on OS/2 2.0 and higher.&amp;lt;ref&amp;gt;{{cite web|url=http://www.operating-system.org/betriebssystem/_english/bs-os2.htm|title=OS/2 Operating System|date=3 April 2004|access-date=13 February 2014|work=operating system documentation project}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;{{anchor|PE|PE32+}}Portable Executable: Introduced with [[Windows NT]], the [[Portable Executable]] (PE) format is a [[fat binary]] consisting of both a DOS and a Windows part. The [[DOS stub]] is runnable on a DOS system but is ignored by Windows. The Microsoft C++ linker, by default, adds a small DOS program that prints the message: &amp;quot;This program cannot be run in DOS mode&amp;quot; and exits.&amp;lt;ref name=&amp;quot;PE Format&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;/STUB&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;DOS Stub&amp;quot; /&amp;gt; Windows ignores the DOS stub and executes the 32-bit Windows-specific portion.&amp;lt;ref name=&amp;quot;PE Format&amp;quot; /&amp;gt; With some linkers, it is possible to specify a custom DOS stub.&amp;lt;ref name=&amp;quot;PE Format&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;/STUB&amp;quot; /&amp;gt;&amp;lt;ref name=&amp;quot;dosStub.exe&amp;quot; /&amp;gt; Indeed, there are a few dual programs, such as [[Windows Registry|regedit]] in [[Windows 95]]&amp;lt;ref name=&amp;quot;regedit in real mode&amp;quot; /&amp;gt; and old versions of [[WinZip|WinZIP]] self extractors. A 64-bit version, PE32+, was introduced with 64-bit versions of Windows. In most cases, code can be written to simply work as either a 32 or 64-bit PE file.&amp;lt;ref name=&amp;quot;PE32plus&amp;quot; /&amp;gt; This format also includes a DOS stub.&amp;lt;ref name=&amp;quot;dosStub.exe&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Other: {{anchor|W3|W4|DL|MP|P2|P3}}There are other EXE formats, including but not limited to &amp;#039;&amp;#039;W3&amp;#039;&amp;#039; (a collection of LE files, only used in WIN386.EXE), &amp;#039;&amp;#039;W4&amp;#039;&amp;#039; (a compressed collection of LE files, only used in VMM32.VXD), &amp;#039;&amp;#039;DL&amp;#039;&amp;#039;, &amp;#039;&amp;#039;MP&amp;#039;&amp;#039;, &amp;#039;&amp;#039;P2&amp;#039;&amp;#039;, &amp;#039;&amp;#039;P3&amp;#039;&amp;#039; (last three used by [[Phar Lap (company)|Phar Lap]] extenders).&amp;lt;ref&amp;gt;{{cite web|url=http://www.ctyme.com/intr/rb-2939.htm#table1593|title=Int 21/AH=4Bh|first=Ralf|last=Brown|website=Ralf Brown&amp;#039;s Interrupt List|date=16 July 2000|access-date=30 October 2018|archive-url=https://web.archive.org/web/20150519112524/http://www.ctyme.com/intr/rb-2939.htm#table1593|archive-date=19 May 2015|url-status=dead}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{Annotated link| Comparison of executable file formats}}&lt;br /&gt;
* {{Annotated link| Executable compression}}&lt;br /&gt;
* {{Annotated link| IExpress}}&lt;br /&gt;
* {{Section link| List of file formats| Object code, executable files, shared and dynamically linked libraries}}&lt;br /&gt;
* {{Annotated link| CMD file (CP/M)}}&lt;br /&gt;
* {{Annotated link| Dynamic-link library}}&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
{{Reflist|refs=&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ref name=&amp;quot;PE Format&amp;quot;&amp;gt;{{Cite web |url=https://learn.microsoft.com/en-us/windows/win32/debug/pe-format |title=PE Format |website=Windows App Development |publisher=Microsoft |date=25 August 2019}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;/STUB&amp;quot;&amp;gt;{{cite web |url=https://learn.microsoft.com/en-us/cpp/build/reference/stub-ms-dos-stub-file-name |title=/STUB (MS-DOS Stub File Name) |work=C/C++ Building Reference |edition=Visual Studio 2022 |publisher=[[Microsoft]] |access-date=10 January 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;DOS Stub&amp;quot;&amp;gt;{{cite web |url=http://thestarman.pcministry.com/asm/debug/DOSstub.htm |title=DOS Stub Program |website=The Starman&amp;#039;s Realm |publisher=[[WP:SPS|Self-published]] |first=Daniel B. |last=Sedory |date=12 October 2004 |access-date=10 January 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;regedit in real mode&amp;quot;&amp;gt;{{cite web |url=http://support.microsoft.com/kb/131352 |title=Using Registry Editor in Real Mode |work=Support |publisher=[[Microsoft]]|access-date=10 January 2014 |date=15 November 2006|archive-url=https://web.archive.org/web/20140115050101/http://support.microsoft.com/kb/131352|archive-date=15 January 2014 |quote=Windows 95 includes a Registry Editor program (Regedit.exe) that runs in both the real-mode MS-DOS environment and in the protected-mode Windows environment. When you need to modify the registry without starting Windows 95, use Registry Editor in real mode. Note that the switches listed in this article only work in real-mode.}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;dosStub.exe&amp;quot;&amp;gt;{{cite web|url=http://purl.net/xyzzy/dos/dostub.htm|title=dostub.exe|first=Frank |last=Ellermann|website=Purl.net|date=22 January 2014|access-date=24 January 2014}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&amp;lt;ref name=&amp;quot;PE32plus&amp;quot;&amp;gt;{{Cite journal |url=https://msdn.microsoft.com/en-us/magazine/bb985992(printer).aspx|title=An In-Depth Look into the Win32 Portable Executable File Format |journal=[[MSDN#Magazine|MSDN Magazine]] |publisher=[[Microsoft]] |date=February 2002 |first=Matt |last=Pietrek |author-link=Matt Pietrek}}&amp;lt;/ref&amp;gt;&lt;br /&gt;
&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Further reading ==&lt;br /&gt;
* {{cite newsgroup |title=Re: Run a COM file |author-first=Matthias R. |author-last=Paul |date=7 October 2002 |orig-year=2000 |newsgroup=alt.msdos.programmer |url=https://groups.google.com/d/msg/alt.msdos.programmer/d7blJjY0H5M/Qu3VeTOIGVcJ |access-date=3 September 2017 |url-status=live |archive-url=https://archive.today/20170903230312/https://groups.google.com/forum/%23!msg/alt.msdos.programmer/d7blJjY0H5M/Qu3VeTOIGVcJ |archive-date=3 September 2017}} [https://groups.google.com/d/msg/alt.lang.asm/PNOd9zfYow0/vXbab16j4XwJ Second reply]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
* [http://dependencywalker.com/ Dependency Walker]&lt;br /&gt;
* [http://www.delorie.com/djgpp/doc/exe/ MZ EXE header format]&lt;br /&gt;
* [http://www.pe-explorer.com/ PE Explorer]&lt;br /&gt;
&lt;br /&gt;
{{Executables}}&lt;br /&gt;
&lt;br /&gt;
[[Category:DOS files]]&lt;br /&gt;
[[Category:DOS technology]]&lt;br /&gt;
[[Category:Executable file formats]]&lt;br /&gt;
[[Category:Filename extensions]]&lt;br /&gt;
[[Category:Windows administration]]&lt;/div&gt;</summary>
		<author><name>imported&gt;EggPudding77777</name></author>
	</entry>
</feed>