.COM File Extension
- Developer by: Microsoft
- Category: Executable Files
- Format: Binary
What is an .COM file?
.COM is DOS Command File
A COM file is an executable program capable of being run by MS-DOS and Windows. It is saved in a binary format and is similar to an .EXE file, but differs in that it has a maximum size of roughly 64KB and it has no header or metadata. COM files are commonly used for executing a set of instructions whereas EXE files are used for fully developed programs.
Both DOS and Windows have used the ".com" extension for many years, and the ".com" extension shouldn't be confused with the ".com" Internet domain name.
NOTE: If a folder includes both EXE and COM files with the same filename (e.g., run.exe and run.com), the DOS or Windows command prompt will run the COM file if you type the filename without the extension.Common COM Filenames
COMMAND.COM - The Windows shell program used by DOS and Windows 95, 98, and Me. It was replaced by cmd.exe in later versions of Windows.