RunProgramm() tries to execute something.
If the parameter is not an executable itself it tries to start the to the extension associated programm.
If the bug still occurs, have you tried my hint from above to start it via cmd.exe

For example:
Code: Select all
RunProgram("cmd", "/C c:\tmp\test.bat", "c:\tmp")