In java, I dynamically created a batch file under program files in the tomcat bin directory and executed it dynamically, but it fails. If I double-clicked the generated batch file that it executed. (The problem occurs on the Windows server machine.)
On my machine and many XP machines this process works fine.
So it depends on the OS, or is the file located in program files, so there can be no permissions to execute or is there any other problem?
source
share