To PathName or Not to PathName (accessing root directory)

Hi SCSynth -

I am trying to make a global variable store the name of the path, two folders above the executingPath.

I started with this:

~thisFile = PathName(thisProcess.nowExecutingPath);

But I’m not seeing any documentation for how to remove folders from the path…

Does anyone have any suggestions?

Call folderName once to get the parent directory of the file, and a second time to get the parent of that directory.

But you don’t strictly need PathName:



1 Like