View Single Post
Old 01-23-2022, 02:05 PM   #2
pandako
Junior Member
pandako began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2020
Device: Kobo Clara HD
Solved it myself after reading the CPP code for the portable executable! (here)

It just needed to set an environmental variable first.

Here's a snippet from my final batch file.

Code:
SET "CALIBRE_CONFIG_DIRECTORY=G:\path\to\portable\calibre\Calibre Settings"
G:\path\to\portable\calibre\Calibre\calibre-customize.exe -a helloworld.zip
G:\path\to\portable\calibre\calibre-portable.exe
pandako is offline   Reply With Quote