Toad World® Forums

Failed execution with return code 255?

Does anyone know what return code 255 means? I am running an automation script that executes 3 batch files using run program from system activities one after the other. Each run program gets “Failed execution with return code 255”. In settings I have set the script to continue on error. When I run the batch files code in the cmd prompt I have no issues.

Thanks,
Slavik

I played a bit with Run activty running batch files - works fine for me.

What version of TDP are you using?

Do your batch files have any parameters?

Thanks,

Igor.

Hi Igor,

Thanks for replying! I am using TDP v 3.4.0.2059

The three batch files have different parts to them (download file, extract, copy move and rename file). Each batch file uses Python to parse the previous days date into variable called date which is then inserted into a files name. I need to have this dynamic functionality to manipulate previous day’s data since the previous days date is in the file name.

Slavik

Hi Slavik,

Is it possible to get your Automation script and all the batch files for some investigation? You can send them directly to me (igor.manokhin@quest.com)

Thanks,

Igor.