Quote:
Originally Posted by dwanthny
...I use this bat file to run calibre.
|
dwanthny, even when you set the environment variable CALIBRE_TEMP_DIR, calibre will still create files and folders in your system's tmp enviroment variable.
Folders fontconfig and gen_py and several calxx.tmp files. Also, if you have "open in ePub Editor" in your context menu, a folder "Sigil" - if Sigil is your ePub editor - will be created in this folder.
The only way right now to make caliber put
all its temp files in a given directory is to use both the TEMP and TMP system variables.
My calibre batch file starts like this:
Code:
if not exist "d:\calibre" md "d:\calibre" || goto error
SET TEMP=d:\calibre
SET TMP=d:\calibre
Kovid: maybe we could improve CALIBRE_TEMP_DIR to place all the temp files in the directory defined by this env variable?