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

0

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
211
Joined: Jul 26 2011 - 1:51am
Last seen: 5 years 8 months ago

2 Answers:

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