12 May 2017, 09:32

@screech
I have tried the absolute routes already as I commented and also the location of the bat or the exe that I created from the bat on different routes, the first was the logic, everything in the original location, the bat next to pngquant and optipng In resources. None of these situations is the cause, now I think from the first moment that the problem would be the config.xml and the parameter line, I tried with it as I put it before and completely eliminated it and it did not work for any The 2 ways, I will try with dummy as you tell me that I could go there the thing.

Mmm i see %2 in your code, why second parameter?

Thanks again