Pass Arguments to .exe File launched via Max
Hello, I have an external .exe file under Windows 10 that I would like to launch via an action in the Max Patch and pass an argument (filepath) to it as well.
I tried this using ;max launchbrowser, however this seems to only work for launching the .exe not for passing additional arguments to it for the launch.
Is there another option to do this in Max? I searched the forums and found only threads about starting an external .exe file and nothing about passing of additional arguments.
Thank you very much!
If that exe is default app for opening the file You want to launch,
than it is enough to open file from max
using ; max launchbrowser file:/// etc
Hey Source Audio, thank you very much for the reply.
Sadly the .exe is not the default program but a specific Application that is ment to work together with the Max Patch. What I'm basically looking for is to pass the path as argument when calling the .exe.
Update: Got this working by using the Shell External and sending the START command to the shell.
https://cycling74.com/tools/bernstein-shell/