Group: Forum Members
The batch script works, however, after completion of command when I check the ERRORLEVEL variable in Windows Batch Script, it returns -1. However, the file is delivered to the destination.
Checking the Pragma documentation, successful transfer should return 0. Can you help me understand and fix this?
I wish to raise an error flag, if return code is a failure.