I am writing an app that uses an API which must have certain environment
variables set before it is run. Is there a way in IntelliJ so that when I
hit the run and/or debug, it will either set certain environment variables
and/or execute some kind of setenv.bat file before executive the exe? The
problem with setting the environment variables in my windows system path is
that the variables are set per application not per computer.