I tested it with (eg Calc.exe, Notepad.exe, the Padre IDE...) but I can't get it to start and display cmd.exe or batch file execution window
Looks to me that the problem must be with the contents of the batch file.
What's the command (in the batch file) that successfully starts Notepad.exe ?
What's the command (in the batch file) that fails to start cmd.exe ?