ROM-DOS Commands 6-17
MX2A137REFGD Revision A MX2 Reference Guide
The /c string switch causes COMMAND to execute the command in
string and then terminate. The string command can be any internal or
external command.
The /MSG option indicates that all error messages should be stored in
memory. This option is recommended only for diskette based systems.
ROM-DOS keeps many of its error messages in the resident part of
COMMAND.COM rather than using valuable memory to store them. If
an error message is needed and you have loaded ROM-DOS from a
diskette, the message will only be available if the boot disk is still in the
drive. By using the /MSG option, the messages will be available in
memory at all times. The /P option must be used along with the /MSG
option.
Examples
The following command will cause a new copy of COMMAND to be
executed. It will perform a DIR command on the C drive and then exit
back to the previous Command Processor.
COMMAND /C DIR C:
The following example shows loading of a permanent copy of command
with an environment size of 256 bytes.
SHELL=C:\COMMAND.COM /P /E:256