Executable code generally refers to machine language, which is the set of native instructions the computer carries out in hardware. Executable files in the DOS/Windows world use . EXE and . COM file extensions, while executable files in Mac, Linux and Unix do not require specific extensions.