In computing, an executable file causes a computer to perform indicated tasks according to encoded instructions, as opposed to a file that only contains data.
Files that contain instructions for an interpreter or virtual machine may be considered executables, but are more specifically called scripts or bytecode. Executables are also called "binaries" in contrast to the program's source code.
A binary file is a computer file which may contain any type of data, encoded in binary form for computer storage and processing purposes.
For example, a computer document file that contains formatted text (such as bolded type, italics, font colors, etc) are considered binary file. Binary files that contain only textual data (without any formatting) are called "plain text" files.
In many cases, plain text files are considered to be different from binary files because binary files are made up of more than just plain text. When downloading, a completely functional program without any installer is also often called program binary, or binaries (as opposed to the computer programmer's source code).
Binary File Interaction with Operating Systems
Microsoft Windows designates executable files by a filename extension (.EXE). On the other hand, Unix-like operating systems mark executables files using file metadata (such as the "execute" permission bit).
Most operating systems will also check that the file has a valid executable file format to safeguard against random bit sequences from inadvertently being run as instructions.
Modern operating systems retain control over the computer's resources, requiring that individual programs make system calls to access privileged resources. Since each operating system family features its own system call architecture, executable files are generally tied to specific operating systems.
Emulators and Executable Files
There are many tools available that make executable files made for one operating system work on another one by implementing a similar or compatible application binary interface. For example: 'Wine,' which implements a win32-compatible library for x86 processors, can run an Windows-based executable file on a Linux / Unix system.
When the binary interface of the hardware the executable was compiled for differs from the binary interface on which the executable is run, the program that does this translation is called an emulator.
This document is licensed under the GNU Free Documentation License (GFDL), which means that you can copy and modify it as long as the entire work (including additions) remains under this license.
Infopackets Top Windows 10 FAQs
How to Upgrade from Windows 10 32-bit to 64-bit
How to Fix: Windows 10 Antivirus Missing, Not Compatible
How to Fix: Windows 10 Display Shifted; Screen Fuzzy
How to Upgrade Windows 7, 8 32-bit to Windows 10 64-bit
to Downgrade from Windows 10
- How to Fix: Windows 10 Upgrade Failed Error C1900208
- How to Fix: Windows 10 Upgrade Failed Error 80240020
- Can I Cancel my Windows 10 Reservation and Reserve Later?
- How to Clean Install Windows 10 using Windows 7, 8 License
- Will Windows 10 Install Automatically?
- Windows 10 Upgrade: Do I have to Reinstall Programs?
- Windows 10 Upgrade: Can I choose 32-bit or 64-bit?
- Which Version of Windows 10 Will I Get (Home or Pro)?
- How to Reserve Windows 10 Upgrade (Free)
- How to Fix: CPU Not Compatible with Windows 10 Error
- Windows 10 Upgrade: Can I keep my Old Windows Install?
- How to Cancel Windows 10 Reservation (Properly)
- Download Windows 10 .ISO (DVD) for Clean Install?
- Microsoft: Windows 10 Will Be The Last Version
- Does Windows 10 require the CPU to support PAE?
- Windows 10: Can I Upgrade or do I need a Clean Install?
Click here for more Windows 10 articles.