[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 195
  • Last Modified:

Difference

What is the Difference between .com and .exe files
0
senexpert
Asked:
senexpert
1 Solution
 
BottledGenieCommented:
I stand to be corrected but, .com files are generally known as command files, they are small programs which run a fixed set of procedures, whereas a .exe is an executable which is in fact more like an application. There is a very fine line between them and there are examples of each which could be classified as the other, for example the common "MSCDEX.EXE" is more of a fixed command set such as a .com file.

Genie!!
0
 
curriCommented:
They are both executable file formats, and unless you know assembly, the difference won't make much sense (it probably won't make sense anymore :), the difference was more important in the old MS-DOS days). From a user perspective, .com files are usually 'small' programs, and .exe files are the normal executables.

From an assembly language point, .com files are always loaded in a specific address, and unless you know what you are doing, they can only use one memory segment (64K). .exe files contain relocatable code, and don't have the segment restriction. .com files were loaded a little bit faster in the old days.

Orlando
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now