Usage:
/SETENV [name
[value]]
/SETENV name=value
With two arguments, /setenv will set the value of name to value in the environment. With one argument, /setenv will display the value of name. With no arguments, /setenv will display the value of all environment variables. If the second form is used, spaces around the '=' will not be stripped.
If name was already defined as an internal variable, it will become an environment variable.
See: variables, /listvar, /set, /export