A SERVICE OF

logo

84 ROM-DOS Commands
MX2 Reference Guide E-EQ-MX2RG-L-ARC
After checking the disk, CHKDSK displays any error messages followed by a report on the state
of the disk that was checked. An example of the report is shown below.
Volume ROM-DOS created June 1,1990 1:00a
Volume Serial Number is 190E-4AA2
362496 bytes total disk space
0 bytes in 1 hidden files
6144 bytes in 2 user files
356352 bytes available on disk
655360 bytes total memory
595360 bytes free
CHKDSK does not wait for a disk to be inserted before the checking is initiated nor does it repair
any errors.
Examples
CHKDSK will check the integrity of drive A. The report will be printed to the console.
CHKDSK a:
CHKDSK will check the integrity of RAM disk D. The report will be saved in a file called
DRIVE_D.RPT.
CHKDSK d: >drive_d.rpt
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.