Is there a way to use launch() without the entire system path?

Hello there!

I am trying to run a .bat file with the processing function launch(), in the documentation (https://processing.org/reference/launch_.html) it says you need to use the entire system path to the file you are trying to run. I have been able to run my .bat file this way, but was wondering if I might be able reference the file (which is placed within the project data folder) without needing to use the entire system path to the file, so I share the Processing project across multiple computers without needing to instruct people what needs to be edited.

Thanks for any and all help!

1 Like

dataPath()PApplet

3 Likes