But batch files work great with XRun! => See for example this batch file to delete downloaded files.
If batch files do not work in your setup, “something” is wrong. If you use the file from the post Storing image with consistent filename - #2 by ulrich, does it work then?