Adding .bat files to the tools menu

Started by Sneddles, March 01, 2017, 11:22:58 AM

Previous topic - Next topic

Sneddles

Is there a particular reason why the tools menu seems to only allow .exe files to be used as the command?

I have a Java program that I want to run and I normally use a .bat file to set the required environment, rather than using global environment settings.

However the Tools / Customize menu option didn't seem to like specifying a .bat file.

In his particular instance I can use the raw command line as there is no special environment to setup.
But there are other Java programs that I can't run without a .bat file as they use the same environment variables, but with different values, so I can't set them globally.

TimoVJL

add cmd.exe with bat-file as parameter, like /c test.bat
May the source be with you

Sneddles

Ah, so simple. Why didn't I think of that?

Namaste