I'm using templates on a number of machines that all have slightly different folder layouts. For example, on one machine the projects folder is in C:\Projects and on another it's at D:\Projects. So I created an environment variable %PROJECTS% that maps correctly to the folder and used that variable in the paths in CS templates.
Now when I run the templates, I get a UnauthorizedAccessException. If I use the full path, it runs correctly, so it's not a permission issue.
I get the same exception when I use .. in the path. In previous versions (I upgraded to 4.1.4 yesterday), .. would travel up a directory from the directory from which the csp file was run, but now it seems to use the system32 directory.
Is there any way to use a non-absolute path? Is there any way to work around these issues? I couldn't find anything relevant in the forums or elsewhere, but if I missed something, just let me know.
Thanks in advance!