In DOSenvironments, a COM file is an executable command file with a.COM filenameextension. COM files can be directly executed and are usually slightly smaller than equivalent EXE files. However, COM files cannot exceed 64K, so large programs are usually stored in EXE files.