I'd suggest writing the output of the batch file to some sort of logfile (If you aren't doing this already). That way you know exactly what you need to debug.
Most batch files I configure to run a python script look something like:
python script.py > run.log
When the script finishes running, you can view the printouts on the run.log file.