View Single Post
Old 07-14-2020, 08:43 PM   #110
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 47,575
Karma: 172313954
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by Skydog View Post
I'm trying to apply Patrick's code below (from post #72) in a batch file but nothing is happening (no active window). I can drag and drop the epub on the .exe with results but not the batch file. It was pasted/saved as batch file format in Notepad++ and named kepubify.bat. Kepubify.exe, kepubify.bat and epub reside in same folder. I haven't played with batch files in 20 years, what am I missing?
Code:
@cd %~dp0
@kepubify.exe --inplace --calibre %*
This seem to work for me. Not sure where you got the %* from.

Code:
cd %~dp0
kepubify.exe --inplace --calibre --output . %1
pause
DNSB is offline   Reply With Quote