Monday, November 28, 2011

Difference in External or Internal commands of DOS

The internal commands reside in COMMAND.COM, which loads into memory when the computer system is started; these commands do not reside on disk. It has 1 of the major file command.com that loads when you boot system in dos.dir, date, etc are internal command i.e. part of command.com and is already loaded in memory and can be executed any time when you are using dos system.
The external commands are files that do reside on disk and have an extension of .COM, .EXE, or .BAT. format, fdisk are external command. They are in form of separate files (format.exe, fdisk.com etc) and if you don't have this files, you cannot execute this commands.
Both command types are executed from the MS-DOS prompt.

No comments:

Post a Comment