|I am using batch to run a folder full of python scripts over the weekend|
FOR %%x IN (*.py) DO call "%%x"
Occasionally, one of the .py files does not work, gives and error on the command prompt window, and then moves on to the next .py. I would like a print (output to .txt) of the batch session so that I can tell which .py did not work.
It seems that the redirect command (> or >>) would only transfer command output to particular place. My batch command (call) does not have any output and simply executes. Is there a way to get and output of everything that happened during a batch session? It would mimic alt+print screen or cut and paste of a command window. Thanks,