This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Java in General and the fly likes Windows Environment Variable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Windows Environment Variable" Watch "Windows Environment Variable" New topic
Author

Windows Environment Variable

Nathan Tran
Greenhorn

Joined: Jun 05, 2001
Posts: 7
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
 
subject: Windows Environment Variable
 
It's not a secret anymore!