del output.txt for %%x in (*.jpg) do topocr.exe %%x -THRESH 20 35 92 output.txt flite < output.txt