[Old Thread] Calibre Command line and .bat file
I'm using Win XP and having problems executing multiple command lines in a .bat file. Each line can be copied and executed individually in the command prompt, but when I collect them into a single file, the batch dies after successfully completing the first conversion. The paths are mapped correctly, otherwise it wouldn’t complete the first command.
The command line looks like this:
ebook-convert "Z:\directory\file1.pdb" "Y:\directory\file1.epub" --no-default-epub-cover --line-height=16 --base-font-size=12 --margin-top=15 --margin-left=15 --margin-right=15 --margin-bottom=10 --remove-paragraph-spacing --use-auto-toc
ebook-convert "Z:\ directory\file2.pdb" "Y:\ directory\file1.epub" --no-default-epub-cover --line-height=16 --base-font-size=12 --margin-top=15 --margin-left=15 --margin-right=15 --margin-bottom=10 --remove-paragraph-spacing --use-auto-toc
etc.
|