Hi everyone, 
I'm having trouble setting up a fileout variable to automatically append the current working directory to the name of the fileout.
If the fileout name is  XX.mov shake would add "presentworkingdirectory"_XX.mov
I found this through the nreal.h file 
    image FileOut(image, const char *imageName, const char *fileFormat = "Auto", ....);
Will I get the results I'm looking for by modifying the above line into a new .h file? Or would this need to be in a plist or .tcshrc file?
I have searched and read about setting up env variables here on the forum and have also read through the shake documentaion. 
But I'm still confused. 
I thought it might be something like
    image FileOut(image, const char *imageName, "$PWD"const char *fileFormat = "Auto", ....);
but it isn't (I keep getting errors when trying to launch Shake.)
Anyway if someone can steer me in the right direction I'd really appreciate it. 
Thanks so much!