Question: what is the difference between binary file and executable file?
Answer: On Unix systems, the file's "executable" flag must also be set. On Windows, the file's extension must be one of a fixed set of executable file extensions, including .exe . A binary file is simply one in a binary (i.e. non-text) format. ... Binary files are not necessarily executable, for example a library compiled to .