I'm afraid you can't do it in IDEA, but you can use some environment variable directly in the .bat
file instead of using the parameter (or rewrite the batch script to detect this value automatically, if possible). Instruct your users to define this environment variable.
IDEA Path variables are global and cannot be made project specific.