192 ROM-DOS Commands
MX3 Reference Guide E-EQ-MX3RG-J-ARC
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
DELTREE.EXE
External Command
The DELTREE command deletes one or more directory trees or individual files.
Syntax
DELTREE [/Y] [drive:]path [[drive:]path[...]]
Remarks
/Y prevents DELTREE from prompting before deleting.
[drive:]path indicates the name(s) of the file(s) or directory tree(s) to delete. Wildcards are
allowed.
Examples
Datalight DELTREE deletes one or more directory trees. For example, to delete all files and
directories in the tree C:\TEMP, enter
DELTREE C:\TEMP.
You can also use DELTREE to delete individual files, one at a time, using wildcards. For
example, to delete selected files in the current directory, enter
DELTREE *.*
DELTREE then prompts you for each file it finds, allowing you to choose whether to delete them.
Caution: Take care when using wildcards with DELTREE. DELTREE deletes all specified
files and subdirectories regardless of their attributes. Multiple files and/or
subdirectories may be specified.