in reply to Re: I know this code could be better...
in thread I know this code could be better...
I generally like to pass in locations with either environment variables or thru command line options.
Saves on going back through all your code when the directory structure changes...
Although some may disagree with me :)