Quote:
Originally Posted by ixtab
Try this:
Code:
echo off
for %a in (c:\ebooks\*.*) do kindledrm "%a" >> out.txt
echo on
NOTE: I don't have windows, so I'm just guessing. It should work, but I can't guarantee it.
|
First off, the command needs to be 'kindledrm.py' (forgot to mention this earlier).
The redirect operator needs to be a single '>', not '>>'.
When it is done the output text file only has the last of the processed file listed, so I assume that its re-writing the file on each pass of the loop instead of appending to it.