SET

This command sets or removes an environment variable, or displays the values of all of the environment variables.

SET [variable=[string]]

Parameters

  • variable
    Specifies the variable that you want to set.
  • string
    Specifies the value to which you want to set the variable.

Remarks

Use the SET command without parameters to display the values of all of the environment variables.

See Also

Command Processor Commands | Command Processor Shell

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.