The most likely cause of this is that something in the batch file went wrong or somehow set the error level to 34 (0x22). That is the value that is attached to that message. (System Error Codes (0-499) (Windows)) Any of the commands in the batch file might change the error level and if it isn't checked or handled, it will be passed back as the result of the package and that is the message that will appear.
if some of the PC's run the batch with success and some not, what are the differences between these both groups? Are there differences or not? (OS, HW, different LD agent versions, ...)
What does the batch do? Could you show/attach the source?
Which service pack level has your LD 9.5?