Hi,
You can't change the environment variables of the current process, but what
you can do is to pass a new set of environment variables to a new Process
object through its StartInfo property. Another object is to use the
System.Management namespace, and finally, you could change the registry
directly.
Regards
Dennis
-------------------
Dennis Doomen
Sioux T.S.O
de***********@sioux.nl
"NetPointer" <sh**************@intel.com> wrote in message
news:bj*********@news01.intel.com...
How to set the environment variable?
I guess System.Environment gives readonly access to it.
Regards,
NetPointer.