Originally Posted by kovidgoyal
If you're getting temp files left over, your calibre command is crashing, you should investigate and fix that rather than messing around with gaziliions of temp files.
Or if you dont want to do that, then simply set the TEMP environment variable and cleanup after the command exits each time.
I only use the GUI version and also get temp files left in my TEMP folder after every Calibre session or after using the viewer. Typically 2 for each run of the viewer and 40 or so after a short session of adding/converting books. They add-up. The first time I noticed there were over 500 files and folders.
The worst case was a PDF to EPUB conversion which left 34000 image files.
Is there a way to specify a working folder for Calibre rather than just use the TEMP (or TMP) variable which is where every other program dumps files?
Using XP/SP3, Calibre 7.10