Pelles C > General discussions

Adding .bat files to the tools menu

(1/1)

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

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

Namaste

Navigation

[0] Message Index

Go to full version