Displays, sets, or removes cmd.exe environment variables. SET variable=[string variable Specifies the environment-variable ...

Displays, sets, or removes cmd.exe environment variables.

SET [variable=[string]]

  variable  Specifies the environment-variable name.
  string    Specifies a series of characters to assign to the variable.

Type SET without parameters to display the current environment variables.