beautypg.com

S e t – Avery Dennison 6035 Programmer Manual Rev.A 7/98 User Manual

Page 160

background image

3-102 ROM-DOS 6.22 User Manual

7/9/98

S E T

Internal

Purpose

Sets, displays, or removes environment variables.

Syntax

SET [variable = [string]]

Remarks

Environment variables can be used to control the behavior of programs
and batch files and also the behavior of ROM-DOS. This command can
be used in the AUTOEXEC.BAT and CONFIG.SYS files and on the
DOS command line. The environment variables defined with the set
command include, but are not limited to, PATH, COMSPEC, PROMPT,
and user defined variables.

Using SET variable = with no argument string clears the current
environment string for the named variable.

Examples

SET PROMPT = $p$g

Sets the prompt, although the prompt can also be set with the PROMPT
command.

SET PROMPT =

Clears any previously set prompt settings and returns the prompt to its
default state.