Quote:
Originally Posted by CyberPaul
Thanks!
This is interesting: is that command going recursively within the subfolders? Am I going to have just .kepub.epub files in the folder(s)?
|
The batch file I use was posted a while back for kepubify 3 but still works with 4
Basically, I have a directory called kepubify in which the kepubify.exe and the kepubconvert.cmd batch file are found. I save to disk in a subdirectory called Epub in the kepubify directory. There is also a subdirectory called Kepub where the converted books end up. The directory structure in the kepub directory will match the structure of the epub directory after the conversion. I renamed the kepubify executable to kepubify.exe since I only keep the 64 bit version. The %~dp0 looks a bit odd but it gives the file path from which the batch file was launched.
kepubify
|--kepubconvert.cmd
|--kepubify.exe
|--Epub
|--Kepub
contents of kepubconvert.cmd:
Code:
@echo OFF
setlocal enableextensions
set source=%~dp0Epub
set target=%~dp0Kepub
set binpath=%~dp0kepubify.exe
set options=--update --inplace
echo EPUB Dir %source%
echo KEPUB Dir %target%
echo Program %binpath%
echo Options %options%
timeout 10
"%binpath%" %options% --output "%target%" "%source%"
endlocal
pause