Home : File Types : COM File

.COM File Extension

File TypeDOS Command File

4.0 (212 Votes)
CategoryExecutable Files

What is a COM 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.

More Information

Most Windows users will not encounter COM executable files since the files are primarily used in MS-DOS. However, you may acquire an old COM file that stores a program or commands and need to run it in Windows.

You can run a COM file in the 32-bit version of Windows but you will be prompted to install the NT Virtual DOS Machine (NTVDM) component when you launch the file for the first time. You can also run a COM file in the 64-bit version of Windows with a virtual machine that supports the MS-DOS environment.

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.


While COM files typically store legitimate MS-DOS or Windows programs, they may also be used for distributing and executing malware attacks on victims' computers. To protect against malicious Windows executable attacks, do not double-click a COM file you have downloaded, received, or found on your computer unless you trust the source of the file.

Open over 400 file formats with File Viewer Plus.

Programs that open COM files

Updated 12/16/2020

About COM Files

Our goal is to help you understand what a file with a *.com suffix is and how to open it.

The DOS Command file type, file format description, and Mac, Windows, Linux, and Android programs listed on this page have been individually researched and verified by the FileInfo team. We strive for 100% accuracy and only publish information about file formats that we have tested and validated.

If you would like to suggest any additions or updates to this page, please let us know.