Hello Micheal, Yeah thats fine..JVM runs in separate shelll...so wat abt if I want to change environment variable value in that shell only...I am trying this from last two days...Please mail if u know the answer... Thanks
Hello, I am able to execute echo, set and other windows command prompt commands through Java Program. Can anyone help to execute "set variable = value" command. Its not changing variable value to some other value. Thanks Inderjeet
Hello, I want to change my Windows environment variable say "Current" to different values at run time. I tried it using Runtime but its not working. I also put the command in .bat file and execute this bat file using Runtime. Its also not working. Can anyone help me out with this? Thanks
Hello, I want to change my Windows environment variable say "Current" to different values at run time. I tried it using Runtime but its not working. I also put the command in .bat file and execute this bat file using Runtime. Its also not working. Can anyone help me out with this? Thanks