Jump to content

Talk:.exe

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by 98.97.34.38 (talk) at 23:27, 2 August 2023 (→‎.exe creepypasta?: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Comments

article is sure outdated :)

You've forgot of MS.Net/DotGNU/Mono :)

Also You've forgot of OpenVMS :)

.NET executables uses PE format.
Claunia 08:52, 5 January 2006 (UTC)[reply]

Vista 64-bit sure can't run 16-bit EXE. —Preceding unsigned comment added by 156.34.221.73 (talk) 18:57, 9 July 2008 (UTC)[reply]

Can't you use hex editors to change .exe files? Which .exe files are good/bad?

Pronunciation

I always thought it was pronounced ex-ee (as in 'exe'cutable). Often heard it pronounced ee -- ex -ee and other ways. Worth pointing out the acronym comes from 'executable' and is pronounced the same way as the beginning of that word? camelworks(Mclowes) 18:38, 4 March 2007 (UTC)[reply]

People pronounce it however they want. "Exe" isn't just shorthand for "executable", it is actually the three letters that people see when they are looking at their files. Thus "E-X-E", the literal reading, is just as valid and probably more common than "ex-e", which is just an incomplete word and requires that the person reading have knowledge of the fact that it is shorthand for another word. For the same reason, .BIN is usually pronounced "bin" rather than "byne" as in "binary". Ham Pastrami 03:53, 4 July 2007 (UTC)[reply]


Difference between .com and .exe

The only difference .com files and .exe files is that when you the current folder contains two files w/ the names filename.com and filename.exe and you enter filename in the command prompt, always the filename.com is executed. You can try it yourself: rename any .exe file into .com. It will still be executeable. This is even true for win32 applications. --Qaywsxedc 20:17, 18 October 2007 (UTC)[reply]

File formats and extensions shouldn't be confused. Nothing prevents you from renaming a Microsoft Word document to ".txt", for example; however, the file still isn't a plain-text file. There are multiple executable file formats for DOS and Windows; the simplest is the COM file format, and there are also several ".exe file" formats - the EXE page points to the pages for some of them. Renaming a ".exe" file to ".com" doesn't turn the file into a COM file; the file is still in whatever ".exe" format it was in.
Windows tends to use extensions as an indication of the file type; this means that it attempts to run files with the suffixes ".com" and ".exe". The various ".exe" formats all have magic numbers that indicate what type of ".exe" file it is, while a COM file has no magic number. The code in Windows that runs executable files determines what type of file it is by looking for a magic number; if you try to run a ".exe" file renamed to ".com", Windows will still recognize it as a ".exe" file rather than a COM file. Guy Harris 21:17, 18 October 2007 (UTC)[reply]

Yes, the extension EXE can be substituted by the DOS COM extension. Yes, Windows will still run the program normally. As mentioned, an exact example would be: Save a copy of MSPAINT.EXE and then rename the copy, not the original, to MSPAINT.COM. You will note the paintbrush icon will no longer show as the program icon, rather the generic DOS icon will appear, however the program as named MSPAINT.COM will run normally. While this may appear a bit esoteric, bear in mind the data as stored can be manipulated to a greater degree once the Windows OS is "tricked". For instance, this could enable a script file, such as a BAT or VBS script, to contain embedded EXE code in hex form. 03:59 18 January 2011 (UTC) —Preceding unsigned comment added by 68.93.156.150 (talk)

Haven't you observed this?

but there are a few dual-mode programs (MZ-NE or MZ-PE) (such as regedit) have a usable DOS section[citation needed].

Regedit.exe in win95 did in fact have a usable dos section and was used in system repair to fix a broken registry sometimes. —Preceding unsigned comment added by 12.117.131.10 (talk) 19:02, 12 February 2008 (UTC)[reply]

So did Windows 98's ScanDisk and setup program (on the CD). Actually the setup program had DOS, 16-bit Windows, and Win32 sections. 130.101.160.219 (talk) 02:14, 5 May 2010 (UTC)[reply]

but what is it?

I may have missed it but calling an exe file an executble file didn't help me. Is it the file that you download or is it the file that you get when you open that file, like from a shortcut? Sorry if this sounds stupid, but I'm not up on all this.Longinus876 (talk) 22:05, 29 January 2012 (UTC)[reply]

Both, in most cases. Jasper Deng (talk) 22:27, 29 January 2012 (UTC)[reply]
Definitions may vary, but to me an executable file in a strict sense is a binary file containing previously assembled or compiled machine code for a specific target processor and operating system. It has to be loaded and relocated in a type-specific way into the computer's memory and then its entry point is jumped to by the computer's processor for direct execution of the code on the processor. Such files can be distributed over the net, but this is very bad practise and should be avoided. Typically, files distributed over the net are archives, which need to be uncompressed in order to extract the executable files inside. These archive files are sometimes executables as well (self-extractors), but typically these are data files in a type-specific format, which need to be interpreted by an application running on the operating system. This application is an executable, the archive is not, although it may contain another executable as pay-load, which can be executed once extracted. Other file types in the net include for example HTML files. These are no executable files as well, but text files (that is, data files) in a specific format, which can be interpreted by an application (that is, an executable) named web browser. In many cases, the operating system is set up to know the executables which are able to interpret certain data files, and they will automatically start the corresponding application when you click on a data file, giving users the impression as if the data file would be executable as well. --Matthiaspaul (talk) 23:54, 29 January 2012 (UTC)[reply]

Merge proposal by 68.173.113.106

Hi all,

I think that this article and APP (file format) should be merged into a single article, EXE and APP. There is a discussion at the WikiProject Computing talk page.

Thanks,

The Doctahedron.EXE, 00:46, 2 February 2012 (UTC)[reply]

NOT! Exe is for applications (tablets and computers) while App is for apps (tablets and mobile phones) PiotrGrochowski000 (talk) 17:07, 5 April 2015 (UTC)[reply]

DCS in Windows 10

Does anyone know what kind of type those .exe-files in Windows 10 are which start with "DCS" instead of "MZ"? There are some of them in the winsxs-Subdirectory, like rpcinfo.exe or nfsclnt.exe or ... — Preceding unsigned comment added by 95.223.161.114 (talk) 16:27, 10 August 2015 (UTC)[reply]

These files seem to be backwards, because they end with ZM, instead of starting with MZ. Indeed more investigation needed. Ben221199 (talk) 11:56, 21 July 2023 (UTC)[reply]
After some searching it has something to do with Microsoft Delta Compression API: https://reverseengineering.stackexchange.com/questions/19734/dll-starting-with-dcd. It seems that the name has something to do with the fact that it was used to apply patches, hence the specification name MS-PATCH (https://learn.microsoft.com/en-us/openspecs/exchange_server_protocols/ms-patch). Because patches are mostly differences (deltas) between the current version and the newer version and this specification describes some compression, they likely came up with the name Delta Compression, so the abbreviation would be DC, also seen in the magic. According to the StackExchange post, the S after DC would be some type identifier. Ben221199 (talk) 12:12, 21 July 2023 (UTC)[reply]

History of .EXE Format

Can't find online anything about the origins of the File Extension: maybe it would be nice to see where, when and by whom was the .EXE created? — Preceding unsigned comment added by 2001:E68:64FF:A200:7C99:D3C7:2C4:227C (talk) 11:26, 21 September 2016 (UTC)[reply]

Exe

Meaning 2600:1702:480:2EC0:10F4:5DD6:1689:94C3 (talk) 18:10, 10 April 2022 (UTC)[reply]

Renaming the title of article (redundant dot)

Hi, like other file formats (apk, PDF, MP4, etc.), the title of article could be "EXE (file format)", and the dot in the title of this article is redundant. Please discuss. Thanks, Hooman Mallahzadeh (talk) 15:51, 9 December 2022 (UTC)[reply]

Rename page and merge it with the "DOS MZ executable" page?

Both COM (Command) and EXE (Executable), and actually BAT (Batch) too, appear in the first MS-DOS: https://github.com/microsoft/MS-DOS/blob/master/v1.25/source/COMMAND.ASM#L884. Batch has his own page: Batch file; COM has one too: COM file. However, EXE has two pages: .exe and DOS MZ executable. It seems to me that it is better to merge those two pages together, because EXE files are always MZ files and in case of newer operating systems this MZ header will always be used to find the location of the PE header (or NE, LE, LX, etc.) using e_lfanew. The new page will describe the MZ header in the first place and can have some section called Extension, Extended EXE or something else to explain what has been added in Windows 1.0 and OS/2. I suggest the page name Microsoft Executable (file), because the file is a executable developed by Mark Zbikowski at Microsoft for MS-DOS, Windows and OS/2, which are all Microsoft products. I suggest the name Microsoft Command (file) and Microsoft Batch (file) for the other two file types, but that should actually belong to their Talk-pages. Ben221199 (talk) 12:57, 21 July 2023 (UTC)[reply]

.exe creepypasta?

Should we include some info about .exe creepy pastas in case someone is researching them? I was, and went here, but there wasn’t anything. 98.97.34.38 (talk) 23:27, 2 August 2023 (UTC)[reply]