Runtime.getRuntime().exec("set some_env_var = some_value");
All I get from the above is an exception: java.io.IOException:
CreateProcess: set some_env_var = some_value error = 2.
Is there a way of accomplishing this ?
OS= XP
App type= console, command line
Java= j2sdk1.4.2_04
Thanks