NO

Author Topic: Adding .bat files to the tools menu  (Read 2719 times)

Sneddles

  • Guest
Adding .bat files to the tools menu
« on: March 01, 2017, 11:22:58 AM »
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.

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 2115
Re: Adding .bat files to the tools menu
« Reply #1 on: March 01, 2017, 11:46:26 AM »
add cmd.exe with bat-file as parameter, like /c test.bat
May the source be with you

Sneddles

  • Guest
Re: Adding .bat files to the tools menu
« Reply #2 on: March 01, 2017, 09:28:23 PM »
Ah, so simple. Why didn't I think of that?

Namaste