Sorry, I got a bit tied up and have been just using the command prompt for now. So if you look at the 2 files that end with _1.png, that's the first attempt to run tomcat 8.x with take command (well after I had to modify the tomcat batch file because take command doesn't interpret it the same as the command prompt, one of the quotes gets lost causing it not to run). Originally I thought maybe the space with an argument was the problem, so I switched to using a batch file (the 2 images ending with _2.png) which ran the same command as specified in the first example. For some reason, characters get lost.
As I mentioned above, the Apache Tomcat batch file doesn't run like it does in the command prompt either. You might have to look at it to see what I mean, but there is a substitution of a variable with text containing quotes which gets substituted on another line which is surrounded with quotes. This causes one of the double quotes to get dropped in the resulting command (so you end up with an unterminated quote) and then the command doesn't run. I took out a set of quotes in the batch file so that it still runs in the command prompt and if I type in one of the above commands that I'm trying to assign to a button, directly into the take command prompt, it then works fine that way. It took me a bunch of time to figure out why tomcat wouldn't run with take command (because echo is turned off in the batch file and it tries to open the command in a new window by default).
I really want to leverage take command but I'm worried that I'll keep running into problems I wouldn't hit with the command prompt and therefore every time take command fails, I'll feel like I have to try with the normal command prompt to see if the problem is my fault or take command's. I don't do anything complicated, or advanced scripting, I just want a tabbed interface and be able to customize things to be as convenient as possible for running things from a command prompt (such as running a maven build, updating source code from a source repository, running different servers locally that I'm developing against).
Thanks for any help.