01-22-2010, 03:37 PM | #1 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: Kindle
|
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? |
01-22-2010, 03:58 PM | #2 |
creator of calibre
Posts: 43,881
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
Advert | |
|
01-22-2010, 04:29 PM | #3 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Code:
echo Trying This Batch File... cd c:\users\fred start calibredb list -f authors > c:\users\fred\calibrereport\authors.csv echo Author Report Run |
|
01-22-2010, 07:18 PM | #4 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jan 2010
Device: Kindle
|
Starson17,
'Start' did the trick. Thank you much. Kovid, Calibre is a great piece of work. Be Proud. Regards, Cartaphilus |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
ebook-convert won't work in a batch file since 0.6.17 | mbovenka | Calibre | 20 | 01-13-2011 07:03 PM |
A little newb help? Launch Calibre via batch file with "Start in tray" modifier | jphphotography | Calibre | 7 | 01-04-2011 11:49 AM |
Mobigen Mass Batch conversion of HTML-Single-File ebooks to .mobi ebooks | cklammer | Kindle Formats | 9 | 11-20-2009 03:00 AM |
Word Documents - batch convert title property from file name | tomliversidge | Workshop | 4 | 11-07-2008 11:20 AM |
Batch convert to plucker .pdb file. | khaoohs | Workshop | 2 | 04-28-2006 11:23 PM |