Quote:
Originally Posted by Vortex
Yes, the HTMLZ file is in the book folder.
The batch file copies and renames the file into the same folder as the HTMLZ file.
Yes, if I run the batch manually the .ZIP is in place and the HTMLZ is still in the book folder.
It works perfect out of Calibre (clicking on any .htmlz file in any folder), but does not work when you click the HTMLZ format link beneath "Authors" on the right side of Calibre , or when you click on the HTMLZ link under the Open With button.
|
@
Vortex - OK - I'm going to have to go through this step by step, so I may ask for stuff you already posted - sorry but...
As far as I know the file type HTMLZ is peculiar to calibre see ==>>
http://www.fileinfo.com/extension/htmlz
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 ?
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.
So when you say
Quote:
does not work when you click the HTMLZ format link beneath "Authors" on the right side of Calibre
|
What do you mean by does not work - does it report an error or just do nothing
Quote:
It works perfect out of Calibre clicking on any .htmlz file in any folder.
|
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.
I need to see the details of the file association, IMO Windows tools are inadequate for this, so could you download this program
http://www.nirsoft.net/utils/file_types_manager.html. The download links are towards the bottom of the page. Nir Sofer's programs are 'as safe as houses', you don't have to install them just unzip to a folder and run the executable.
The second attachment shows what I have associated for ZIP files (WinRAR), to get the Properties panel right click the HTLMZ line in the top panel and select Properties
Take a screen shot and post here via Manage Attachments. I mainly use the Windows Snipper Tool - search for snipper in start menu, suggest you pin it to taskbar (IMO the handiest), or start menu or create a shortcut on desktop.
BR