If you are talking about SETENV, using -M sets the variable as environment/system variable and is viewable in the system variables in the Windows GUI, and is available under different cmd shells too.

Let me know if this is not what you meant.