Dos commands

From FreeDOS
Jump to: navigation, search

This entry is part of the FreeDOS Spec

DOS commands may be internal or external. Any DOS command may be implemented internally by the shell, or provided externally as in a program. If external, the program may be either a COM or EXE, with the exception of COMMAND.COM.

In each of the following, d: represents a drive letter, path represents a full pathname, and file represents a full filename, or a file mask including * and ?.

For all commands, internal and external, the command line option /? should generate a help screen, and the program should immediately exit. The exit code is not defined, but we strongly suggest an exit code of zero.

A few traditional MS-DOS commands have been dropped from the Spec. Dropping from the Spec does not mean that such a program will be ignored if one ever comes along, but this does mean that we will not actively seek out to develop a new version. This is because they were considered as part of a legacy migration thing for MS-DOS, which the FreeDOS Project is not interested in carrying forward. Where a program has been dropped from the Spec, an annotation has been made to explain why.

See also