Most executable file types are binary files. Binary files are first written as a source code, then compiled into binary files. Script files are basically text files, which are executed by a binary interpreter. Example script files are Visual Basic scripts, JavaScript, etc.