
COMMAND.COM should not be confused with cmd.exe.
| Other Names: | MS-DOS Prompt, Windows Command Interpreter |
| Developer: | Seattle Computer Products, IBM, Microsoft, The Software Link, Datalight, Novell, Caldera |
| Programming Language: | x86 assembly language |
| Platform: | 16-bit x86 |
| Genre: | Command-line interpreter |
is the default command-line interpreter for MS-DOS, Windows 95, Windows 98 and Windows Me. In the case of DOS, it is the default user interface as well. It has an additional role as the usual first program run after boot (init process). As a shell, has two distinct modes of operation: interactive mode and batch mode. Internal commands are commands stored directly inside the binary; thus, they are always available, but can only be executed directly from the command interpreter.
's successor on OS/2 and Windows NT systems is, although it is available in virtual DOS machines on IA-32 versions of those operating systems as well. The filename was also used by (DCP), an MS-DOS derivative by the former East German VEB Robotron.
is a DOS program. Programs launched from it are DOS programs that use the DOS API to communicate with the disk operating system. The compatible command processor under FreeDOS is sometimes also called FreeCom.
As a shell, has two distinct modes of operation. The first is interactive mode, in which the user types commands which are then executed immediately. The second is batch mode, which executes a predefined sequence of commands stored as a text file with the .BAT extension.
Internal commands are commands stored directly inside the binary. Thus, they are always available but can only be executed directly from the command interpreter.
All commands are executed after the key is pressed at the end of the line. is not case-sensitive, meaning commands can be typed in any mixture of upper and lower case.
Control structures are mostly used inside batch files, although they can also be used interactively.