Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Windows Environment Variable

 
Nathan Tran
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have sample code for reading and setting a Windows environment variable during application runtime?
I have asked my user to set a particular variable. If the variable is not set, then my code should set the default value for said variable.
Thanks in Advance,
Nathan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic