![background image](http://html1.mh-extra.com/html/falcon/dos-portable-data-terminals/dos-portable-data-terminals_advanced-users-manual_3323285137.webp)
Command Descriptions
Advanced User’s Guide
B-9
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
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 the
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.
advuser.book Page 9 Friday, September 27, 2002 4:22 PM