BR, Thanks for taking the time to help
Quote:
The default handler within calibre itself for HTMLZ is the calibre ebook-viewer i.e. Preferences->Behaviour->Use internal viewer->HTMLZ is checked. Can you confirm that you have unchecked that setting ?
|
Yes settings unchecked.
Quote:
Assuming you've done that, then when you click on the HTMLZ link in the Book Details panel calibre will ask Windows to open the file with whatever it has in its File Association table for HTMLZ. By default Windows wont have anything for HTMLZ so it will report an error to calibre, and calibre will display an error - see first attachment.
What do you mean by does not work - does it report an error or just do nothing
This implies that you have set a Windows File Association for HTMLZ, presumably to your batch file - that's not something I've ever needed to do.
|
In Windows 7 "Control Panel\All Control Panel Items\Default Programs\Set Associations" I have .htmlz files set to open with my batch file (htmlz2zip.bat). It tries to execute the batch file but it fails with the error:
================================================
C:\Users\-\Desktop\books\Calibre Portable>for /F "tokens=* delims= " %a in ('dir
/b *.htmlz') do (
copy "%a" "%~Na.zip"
"C:\Program Files (x86)\ubook\uBook.exe" "%~Na.zip"
)
File Not Found
C:\Users\-\Desktop\books\Calibre Portable>Pause
Press any key to continue . . .
============================================
Screenshot from File Types Manager attached.