An executable file, commonly referred to as an .exe file, is a type of computer file that can be run or executed by the computer's operating system. When you double-click on an executable file, the operating system automatically runs the program or script contained within the file.