View Single Post
Old 02-03-2010, 07:32 PM   #2
calvin-c
Guru
calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.calvin-c ought to be getting tired of karma fortunes by now.
 
Posts: 787
Karma: 1575310
Join Date: Jul 2009
Device: Moon+ Pro
Do it in the batch file. Output goes to a different file name. If no errors (you might need to modify the script to return an Errorlevel indicating whether or not there were errors) the batch file can delete the original & rename the output back to the input.

Note that I don't know Python. I do know batch files-so the old adage applies. "If all you have is a hammer then every problem looks like a nail."
calvin-c is offline   Reply With Quote