View Single Post
Old 03-02-2010, 06:27 AM   #6
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by pepak View Post
Just prefix your calls to ebook-convert with either call or cmd /c. Unlike the start fix, this will NOT start a new console window for each ebook-convert, and it will run te commands sequentially rather than all at once.
I tried both call and cmd /c when trying to work around problems with calibredb and batch files. It's true they don't spawn another cmd session, but they also didn't work. Calibredb crashed the first session every time, so the batch would never complete. I don't know if ebook-convert is different, but, at least for calibredb running in a batch file, you need to use start, or the Powershell workaround.

If your batch needs sequential operation, then you need to be trickier or use Powershell.

Last edited by Starson17; 03-02-2010 at 06:30 AM.
Starson17 is offline   Reply With Quote