Skip to content
Search

Setx

lastmod 2015-07-01created 2015-07-011 edits

Creates or modifies environment variables in the user or system environment. Variables can be set based on arguments, registry keys, or file input.

Example

To add a user environment variable:

setx TEST_VAL ValueString