Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual
Page 87

7/9/98
ROM-DOS 6.22 Command Descriptions 3-29
COMMAND (cont.)
/k:filename tells the command processor to run the specified file name
and then display the ROM-DOS command prompt. It is not
recommended that this option be used in a CONFIG.SYS SHELL=
statement.
/p causes COMMAND not to exit, but to remain permanent. /p should
only be used when command is used in a CONFIG.SYS SHELL
statement.
/c string causes COMMAND to execute the command in string and then
terminate. The string-command can be any internal or external
command.
/msg indicates that all error messages be stored in memory. This
option is recommended only for diskette-based systems. ROM-DOS
keeps many of its error messages in the non-resident portion 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 is only available if the boot disk is still in the
drive. By using /msg, the messages are available in memory at all
times. /p must be used along with the /msg option.
Examples
COMMAND /C DIR c:
Executes a new copy of COMMAND. It performs a DIR command on
the C drive and then exits back to the previous Command Processor..
SHELL=c:\COMMAND.COM /P /E:256
Shows loading of a permanent copy of command with an environment
size of 256 bytes.