Command Prompt for Windows




Command SET

Function:

Display, set or remove environment variables.

Syntax:

SET [variable=[chars]]
variableEnvironment variable name.
charsA series of characters to assign to the variable.

Note:

Type SET with no parameters to display a list of all environment variables.

When parameter chars is not specified then the environment variable will be removed from the environment space,

Also see command XSET, LET and Batch Files.