SECTION 7
System Information
PEN*KEY
R
6200/6300 Hand-Held Computer Programmer’s Reference Guide 7-3
Using CONFIG.SYS with MiniCMD
The CONFIG.SYS file is processed before a command processor is selected. This
particular CONFIG.SYS does not put any unique restrictions on file content. To
select MiniCMD as the command shell, you must either place a SHELL
statement in the CONFIG.SYS file or supply a COMMAND.COM on drive D that
is actually a renamed copy of MiniCMD.
Unlike COMMAND.COM, MiniCMD ignores any command line parameters that
might be supplied via the SHELL statement. Moreover, when you use MiniCMD
as the command shell, AUTOEXEC.BAT is not processed. Instead, MiniCMD
looks for and executes a file named ROMINIT.BAT. (Restrictions on the contents
of ROMINIT.BAT are discussed later.)
MiniCMD Internal Command Set
MiniCMD supports only a very small subset of the internal commands that
COMMAND.COM supports. The following commands are available:
"
@command
The
@
command prefix prevents a single line from being echoed as it is
executed.
"
:label
The : command prefix defines labels within ROMINIT.BAT for use with
the GOTO command. Since labels are never displayed or executed, they
can be used in place of the REM statement. To enhance clarity, however,
you can use :REM" to prefix all such remark statements.
"
SET variable=value
Note that SET with no command parameters does
not
display the current
environment.
"
ECHO
When executed without any command line parameters, ECHO displays a
message indicating whether or not ECHO is on.
"
ECHO ON
Same syntax as COMMAND.COM.
"
ECHO OFF
Same syntax as COMMAND.COM. Note that when ECHO is off, no
command prompt is displayed at the command line.
"
ECHO,
(Note the comma.) This special echo command echoes a blank line. The
comma must appear immediately after the o" in echo," with no separating
space.
"
ECHO
message
Same syntax as COMMAND.COM.
"
IF [NOT] EXIST . . .
Same syntax as COMMAND.COM.
"
IF [NOT] ERRORLEVEL . . .
Same syntax as COMMAND.COM.
"
GOTO
label
Same syntax as COMMAND.COM, except that you may not use the colon
with the label name.
7. System Information