View Single Post
Old 03-30-2011, 07:51 PM   #1
Junior Member
euleralves began at the beginning.
Posts: 7
Karma: 10
Join Date: Mar 2011
Device: Kindle 3, PW2
Lightbulb Windows batch file to test, debug and develop recipes

Drag a recipe file to this Windows batch and you can debug the output of recipe.

This help you to build your recipes.

@echo off
if not exist "%~dp1%~n1" md "%~dp1%~n1"
if exist "%~dp1%~n1\%~n1.recipe" del /q "%~dp1%~n1\%~n1.recipe"
copy %1 "%~dp1%~n1\%~n1.recipe"
start "Calibre RSS" /wait /b "%ProgramFiles%\Calibre2\ebook-convert.exe" "%~dp1%~n1\%~n1.recipe" "%~dp1%~n1" --test -vv
echo Wait a while even after the message to press enter. The Caliber will start.
Attached Files
File Type: bat Recipe test.bat (358 Bytes, 113 views)
euleralves is offline   Reply With Quote