Relative Paths

I feel like I'm missing something really obvious here, but I've got a script that works as long as I use absolute paths. It's pretty simple. I just call 2 different files to apply them both. Is there a way to use relative paths? I can't find any documentation on the relative paths or sample code using them. 

 var oContentMgr = App.getContentMgr();
 oContentMgr.openFile("C:/Users/CC/Documents/Secondary Runtimes/Ciara/People/test1.duf", true);
 oContentMgr.openFile("C:/Users/CC/Documents/Secondary Runtimes/Ciara/People/test2.duf", true);

 

Comments

Sign In or Register to comment.