beautypg.com

Avery Dennison 6037 Rev. AA 3/04 Programmer Manual User Manual

Page 106

background image

4-64 ROM-DOS Internal Commands

S H E L L

CONFIG.SYS Command

The SHELL command allows you to specify a command interpreter other
than the default COMMAND.COM or to load COMMAND.COM with non-
default arguments (parameters). ROM-DOS boots this new program, with
arguments, instead of that specified internally.

Syntax

SHELL = cmd_interpreter arguments

Remarks

The SHELL command is most often used to start the initial copy of
COMMAND with special parameters. One parameter provides a larger
environment than the default 128 bytes.

The

cmd_interpreter can be any executable program. The full path,

including drive letter, should be specified if the program is not in the root
directory of the default drive.

Arguments are optional and program-specific and vary depending on the
cmd_interpreter being executed by the SHELL command.

Example

s

SHELL=C:\COMMAND.COM /E:512 /P

Boots the standard Command Processor but sets the environment space
to 512 bytes (up from the default 128). The /P parameter tells
COMMAND that it is permanent (cannot terminate).

SHELL = C:\TEMP\MYPROG.EXE

Boots a program named MYPROG.EXE, located in the directory TEMP,
instead of the standard Command Processor.