![]() |
#1 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
|
Where do I get Zip.exe?
Hello everyone,
I'm going straight to the Wizards for help. I'm building my first EPUB and I'm having problems putting files in the container. I've just finished building a kindle mobi version from scratch, and I've edited all my files (opf, ncx etc) according to the EPUB spec's. My problem seems to be that I'm using 7Zip to create the EPUB container and it doesn't do the job. I've searched all over the internet, but I can't find an executable copy of Zip.exe. Can you point me to a download site (I've already scoured everything I can find)? I'm using a Windows XP system. Thanks, Tony |
![]() |
![]() |
#2 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,504
Karma: 8720163
Join Date: May 2007
Location: South Wales, UK
Device: Sony PRS-500, PRS-505, Asus EEEpc 4G
|
CNET is usually a useful source:
http://download.cnet.com/zip-exe/300..._4-158091.html |
![]() |
Advert | |
|
![]() |
#3 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,104
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
#4 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,104
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I've just attached the command line ZIP & Unzip that I use with Windows 7. I've used them with Windows 98, XP, Vista, & now 7.
|
![]() |
![]() |
#5 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
|
Thanks for the Info!
Thanks for your prompt reply and support for an epub newbie. Having successfully completed the hand-built process for the Kindle format, I'm surprised at the problems I'm having with epub.
The Kindle generator, "Kindlegen" builds the document from the construction files (opf, ncx etc) and provides very good error messages for all problems, and builds a single o/p file. The epub process doesn't allow any error checking of the construction files until everything is successfully packaged in a Zip container, making the process more difficult I think, especially with the restrictions on archive position of mimetype, and file attributes. I'll give the zipunzip download a try and see if I can get another step along the process. Thanks again, Tony |
![]() |
Advert | |
|
![]() |
#6 | ||
GuteBook/Mobi2IMP Creator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
|
Quote:
Quote:
Code:
UnZip 5.52 of 28 February 2005, by Info-ZIP. Maintained by C. Spieler. Send bug reports using http://www.info-zip.org/zip-bug.html; see README for details. I just updated to Zip 3.0 and UnZip 6.00, just in case I need these useful utilities again. ![]() For Windows 32-bit systems, direct downloads available here:
Zip 3.0 ==> ftp://ftp.info-zip.org/pub/infozip/win32/zip300xn.zip UnZip 6.00 ==> ftp://ftp.info-zip.org/pub/infozip/win32/unz600xn.exe |
||
![]() |
![]() |
#7 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 517
Karma: 459442
Join Date: Jan 2010
Location: Alpha Centauri's Library of Alexandria
Device: Pandigital Novel
|
I don't understand...
I have winzip, doesn't that work or this is requirement something else ? |
![]() |
![]() |
#8 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,104
Karma: 144284184
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
I use WinRAR to do my unzipping and zipping of ePub.
|
![]() |
![]() |
#9 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
|
I tried the Zip.exe posted by Jon, and it works perfectly. I can now use epubcheck to find the remaining problems with the construction files.
I was also pointed to Zip 3.0 by Harrison Ainsworth, which I downloaded although I have not tried it yet, but it comes with complete Zip documentation. I will also download Unzip 6.0 and try it and Zip 3.0 when I'm over the present problem of building an epub. Thanks again. Tony |
![]() |
![]() |
#10 |
Member
![]() Posts: 13
Karma: 64
Join Date: Nov 2009
Location: S. Ontario, Canada
Device: Jetbook, Sony PRS-505
|
I found the only easiest way to build a Epub style zip was to start with a generic zip that is already known to be good and then add the files for your epub.
If adding an attachment worked, I have uploaded my starter file, temp.zip. It has the mimetype file at the correct offset and no compression. You can use pretty well any zip program to add your book's files to the base file and get the proper epub structure. |
![]() |
![]() |
#11 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,178
Karma: 2431850
Join Date: Sep 2008
Device: IPad Mini 2 Retina
|
Quote:
In Windows Explorer, right click the epub, goto to the 7Zip pop-up menu and there is an option to unzip the file to a sub-directory with the same name as the file. To go the other way, in Windows Explorer go into the directory that contains the epub content files, select all the files and sub-directories, right click and from the 7Zip pop-up menu select the option to create a new zip archive. This will create a .zip file with the same name as the parent directory. Rename to .epub and that's it. |
|
![]() |
![]() |
#12 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 39
Karma: 25000
Join Date: Dec 2009
Device: Kindle 3
|
7Zip doesn't work because there is no way (switches etc) to strip file attributes, and prevent entries in the archive directory.
The Zip.exe version posted above by Jon Wolf works perfectly. I arranged my META-INF, OPS, mimetype, and zip.exe in a folder, and used the command: zip -Xr9D FileName.epub mimetype * -x zip.exe where: -X = strip file attributes r = travels file structure recursively 9 = compression level (does not compress mimetype because of 20 byte file length). D = no directory entries created in epub file. * = wildcard to include all files and directories -x = exclude zip.exe Getting zip.exe from Jon was the solution to MY problem, the rest was overcoming my stupidity and ignorance, which I was able to do. Tony |
![]() |
![]() |
#13 |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
|
![]() |
![]() |
#14 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jul 2011
Device: ipad
|
Thanks for posting the 'zip.exe' file. I downloaded it, and unzipped it, but every time I click on 'zip.exe' to open it, it flashed open for less than a second, and closes. Tried it on XP and Windows 7. Any ideas why or suggestions how to make it stay open? Thanks...
|
![]() |
![]() |
#15 | |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 450
Karma: 343115
Join Date: Nov 2009
Location: Romania
Device: PW2 2014
|
I'm 100% sure 7-Zip comes with zipping capabilities by default. We're talking about 7-Zip 9.20 here, right ? The latest 7-Zip. Just right click the files, "7-Zip", "Add to archive..." and choose Zip instead of LZMA, or something like that.
And oh, have you tried right clicking the files "Send To" and then "Compressed (zipped) Folder" ? It's built into the explorer. Edit: Quote:
Code:
@echo off zip.exe -h pause Last edited by DSpider; 07-10-2011 at 05:58 PM. |
|
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibre-parallel.exe twice? | sideburnt | Calibre | 12 | 03-24-2012 08:51 PM |
doc2fb.exe | KoopaOne | Workshop | 2 | 02-10-2010 01:44 PM |
PRS-500 lit2lrf.exe | waykohler | Sony Reader Dev Corner | 38 | 12-25-2009 05:51 AM |
PRS-500 PRSUtil.exe | geekraver | Sony Reader Dev Corner | 33 | 07-07-2008 03:40 PM |
bloated explorer.exe | Rtman6 | Lounge | 6 | 01-24-2004 10:06 PM |