How can I compile a MAX app that can locate a folder on another computer?

prismspecs's icon
Max Patch
Copy patch and select New From Clipboard in Max.

I've designed this photo booth and it works great on my computer. The problem is that when I compile it to a stand alone, it has no idea where the photos are supposed to be saved and where the photos that already exist can be opened. I've tried this a few ways, but can't get it to work.
Ideally I would have the app in the same folder as the folder containing the images, and I could just access them with some sort of filepath + '/images' situation. Here is the way I have it now (works for me, not others)

I haven't been able to spend time debugging on another machine yet, but it seems that if I could just add the folder to MAX's included list, it would work. But how can I do that on a computer w/o MAX installed?

Is there any object that is good for this?

seejayjames's icon

;max message to the rescue!

no need to include the folder to the list, this will give you the app's path.

Max Patch
Copy patch and select New From Clipboard in Max.

for standalones only. for patches, it's "path" message to [thispatcher].