Problems Using Calibredb Commands in a Batch File
I'm running Vista Home Premium and I'm trying to (semi)automate generating listings from Calibre by using a batch file. However, every time I execute a calibredb command, instead of returning to the next command in the batch file, the job simply terminates. The batch file looks something like this:
echo Trying This Batch File...
pause
cd c:\users\fred
pause
calibredb list -f authors > c:\users\fred\calibrereport\authors.csv
pause
echo Author Report Run
I get the echo and the first pause. I get the directory change. I get the second pause (I added all the pauses just to "debug" the batch file). The calibredb command runs, but I never get to the 3rd pause or the last echo. When I go to the piped destination, the report is there, so I know the command ran.
Any ideas?
|