Another option is to use the "setx" command which I believe used to come with the Windows Resource Kit but seems to be part of Windows 7 now. This is similar to the "set" command but stores the value as an environment variable that can be used immediately outside of the comman window where it was created.
I use this all the time in batch files or on the command line.
Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!
Check out the Windchill Tips Board! We're talking about
Whirlpool's use of digital twin, augmented reality, and data-driven design!
The NAVIGATE WORKING GROUP is here! Come innovate with PTC!
The NAVIGATE WORKING GROUP is here! Come innovate with PTC!Sign up for a Working Group