File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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