5-14 Utility Descriptions
COMMAND
The COMMAND command starts a new command processor.
Syntax
COMMAND[device][/e:number][/k filename][/p] [/c string][/msg]
Remarks
Use this command to start a new instance of the ROM-DOS command
processor, the program that contains the internal ROM-DOS commands.
Starting a new instance of the command processor also produces a new
environment. The size of the environment is 128 bytes by default but can
be changed using the /e switch. The environment size may be larger if
this is a secondary copy of COMMAND.
Command and its arguments can also be used in a SHELL= statement in
your CONFIG.SYS file. Refer to the description of SHELL for more
details.
Options
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 32,768. All other values are ignored and replaced with the default
value of 256. ROM-DOS rounds up the value entered 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 but to remain permanent.
Use the /p switch only when COMMAND is used in a CONFIG.SYS SHELL
statement.