Name
set
Synopsis
The set
command manipulates environment variables
from the command line.
Type set
without options to display all the
current environment variables, or use this syntax:
set [variable
[=[string
]]] set /pvariable
=[promptstring
] set /aexpression
Type set
with only a variable name (no equal sign
or value) to display a list of all the variables whose prefix matches
the name. The set
options are:
Option |
Description |
---|---|
|
Specifies the variable name. If |
|
Specifies a series of characters to assign to
|
/p |
Specifies that |
|
The text prompt to display when using the /p option. |
/a |
Specifies that expression is a numerical expression to be evaluated. |
|
When used with the /a option, |
Get Windows XP Pocket Reference now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.