Name

set

Synopsis

Display/set a variable value.
set [var]

Display the value of the specified variable (or of all defined variables).

set var=string

Set the value of a string variable.

set /A var=numeric-expression

Set the variable to the result of the evaluated numeric expression.

Get Windows 2000 Commands 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.