A SERVICE OF

logo

ROM-DOS Commands 6-15
2325A137REFGD Revision B 2325 Reference Guide
COMMAND.COM
Type
External
Purpose
Start a new command processor.
Syntax
COMMAND[device][/E:number][/K:filename]
[/P][/C string][/MSG]
Remarks
This command starts a new copy of the ROM-DOS command processor.
The command processor is the program that has all the internal DOS
commands in it.
Starting a new command processor will also produce a new
environment. The size of the environment is 128 bytes by default, but it
can be changed using the /E switch.
Command and its arguments can also be used in a SHELL= statement in
your config.sys file. See the full description of SHELL for more details.
Options
The device option specifies that COMMAND.COM should use a
different device, such as AUX, for input and output.
The /E:number switch sets the environment size. Number represents
the size of the environment in bytes. Number must be in the range from
160 to 32768. All other values will be ignored and the default value of
256 will be used. ROM-DOS will round the value entered up to the
nearest multiple of 16.
The /K:filename option tells the command processor to run the
specified filename and then display the ROM-DOS command prompt. It
is not recommended that this option be used in a CONFIG.SYS
SHELL= statement.
The /P switch causes COMMAND not to exit, or in other words, to
remain permanent. The /P switch should be used only when command is
used in a CONFIG.SYS SHELL statement.