To create or change an environment variable in the user context, use this low-level call:
This environment variable will keep the value until you change it or delete it - even across reboots. So, it can be used for communication between processes or to keep state across reboots. This is how you read the variable:
And to delete the variable, use this line:
ReTweet this Tip!
Nov 10 2011, 06:00 AM