Best way to load environment variables or global configuration for a temporary directory

Hi, I've been doing this for two days so excuse me if this is a stupid question.

 
What is a good way to to have a global variable or property for simple things like a directory?
 
I'm trying to start work on an existing project which has parameters for a temporary directory that doesn't match my file system. Obviously I can change it but I would a portable solution like a xml file or using system environment variables
 
Thanks
 
Kevin
kcd's picture
kcd
864
Joined: Jul 26 2011 - 1:51am
Last seen: 8 years 10 months ago

2 Answers:

kcd's picture
kcd
864
Joined: Jul 26 2011 - 1:51am
Last seen: 8 years 10 months ago
Hmm also see tLoadContext, very handy to have it in an XML configuration file
kcd's picture
kcd
864
Joined: Jul 26 2011 - 1:51am
Last seen: 8 years 10 months ago
Feedback