• Post Reply Bookmark Topic Watch Topic
  • New Topic

Changing windows environment variable at runtime

 
Inderjeet Dhody
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the General Computing Forum...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!