The only problem is that testbot does not allow me to set an environment variable. All testbot knows are command line arguments.
Well, you can use 7zip and its SFX-capabilities to do a lot more with testbot. I used this to invoke winhlp showing a specific helpfile :) For your case, you might embed a shell script or similar?
Regards,
Wolfram