Zip2Dir: A handy tool to unzip encrypted zip files, or zip folders to files.

Author: Jian Ma
Email: stronghorse@tom.com
Home page: http://stronghorse.yeah.net

FAQ
Usage
    1. Install and uninstall
    2. Usage
Acknowledge
History

FAQ

Q: What's Zip2Dir?
A: This is a tool to repackage zipped comics files downloaded from Internet.

Q: Now WinZip is very popular, why Zip2Dir is developed?
A: There are so many comics packed in encrypted zip files. When I unzip them with WinZip, I have to input the same password again and again, just like a fool. Fortunately, in the project of ComicsViewer, I wrote a piece of code to remember inputted passwords and use them to unzip encrypted files. Based on this code, I made Zip2Dir:
1. Can run independently or be triggered from the shortcut menu of Explorer, just like WinZip.
2. If zip file requires a password, first find it in recorded password list. Only ask user to input it if nothing is found. Inputted new password will be appended into the list and can be used in next time.
3. If it run independently, it can unzip all packages in a folder, or zip all subfolders in a folder to packages separately and name them with the name of subfolders.
4. If it's triggered from Explorer, it can zip all selected folders, or unzip all selected packages.
5. Can check CRC code of zip files.
6. Can set or clear the comment of zip files in a folder.
7. Besides zip, supports cbz and uvz.
Note: If unzipped file is already existed, Zip2Dir will overwrite it without any remind.

Q: Should I pay for Zip2Dir?
A: Zip2Dir is a friendware. That means, I share it with my friends. You can use it freely for noncommercial purpose. If you like it, you can mail me and tell me how great it is. If you want to use it for commercial purpose, or upload it to your web site, please get my permission first. If you find any bug of it, don't hesitate to contact me.

Usage

1. Install and uninstall

Uninstall it:
1. Run Zip2Dir, click "Unregister" button in "Shortcut menu" box, then exit.
2. Restart your computer.
3. Delete the whole folder of Zip2Dir.

This application use Info Zip Lib, which is released by Info-ZIP organization, to deal with zip files. So no any OCX or DLL is needed and installation is really simple:
1. If you already installed an old version, uninstall it following the description above . Otherwise the system will prompt you that the DLL can't be overwritten.
2. Create a folder and unzip Zip2Dir.zip into it with WinZip. If you need a shortcut, you can select Zip2Dir.exe in Explorer and drag it onto desktop. Then you'll get a shortcut on it.
3. Run Zip2Dir, click "Register" button in "Shortcut menu" box to integrate Zip2Dir to the shortcut menu of Explorer. Next time when you restart Explorer, you'll see a new item in it's shortcut menu.

2. Usage

2.1 Run independently

To unzip or check all files in a folder, just browse "Source Folder" and "Target Folder", then click "Unzip" or "CRC Check". If password required is not in the list, a dialog will popup and ask you to input it.

If "Create folder for every zip file" is checked, the application will create a folder and unzip the zip file into it if no any relative path is included in the zip file. The new folder's name is the main name of the zip file.

If "Keep folder structure" is checked, the source files will be unzipped with completed relative path found in zip file. Otherwise all files will be unzipped into the same folder.

Note: no any file overwrite will be remained.

To zip all sub-folders into zip files, just browse "Root Folder", input password and select comment file if needed, then click "Zip" button. Sub-folders will be zipped one by one. New zip file will follows the name of sub-folder.

If "Keep folder structure" is selected, the relative path in the sub-folder will be kept in ZIP file. If "No top level folder name" is selected, the top level of relative path will be removed. If JPG or PNG files are zipped, you may check "No compression" to save time.

To set/clear the comment of zip files in a folder and it's sub-folders, just browse "Root Folder", browse comment file if needed, then click "Recomment" button.

2.2 Run from Explorer's shortcut menu

To unzip files, just select them in Explorer, then click right mouse button. If Zip2Dir is registered properly, you'll see menu items "Unzip All" and "Check CRC All". Click the former will run Zip2Dir and unzip all selected files, while the later will check the CRC code of them.

To zip folders, just select them and click right mouse button. This time you'll see a menu item "Zip All Dir". Just click it.

If run from Explorer's shortcut menu, all options follow the setting in last independent running.

Acknowledge

The application is based on the Info Zip Lib released by Info-Zip organization. Thanks for their great works!

History

Version 1.32
New function: Supports cbz and uvz, which are zip files with different extension.
New function: Now you can choose if you want to delete source zip file after unzip, or delete source folder after zip.

Version 1.31
New function: "No compression" option in "Zip folder to package" box. For JPG and PNG files, compression is useless.
Function modified: XP style user interface is removed to make dialog more clear.

Version 1.30
Change the face of buttons to browse files and folders from text to icon.

Version 1.29
New function: Report if there is any error during unzip or CRC check.
New function: Compatible with new GUI style in Windows XP.
Bug fixed: If user select any non-zip file in Unzip All or Check CRC All, it will report an error.

Version 1.28
New Option: Now when zip directories, user can choose if he/she wants to keep all directory structure in zip file, or directory without the top level.

Version 1.27
Bug fixed: When unzip an encrypted ZIP file, sometime it can't be unzipped even if the password is correct.

Version 1.26
New function: Now you can set password and comment of zip files when you make them.
New function: Change/clear the comment of zip files in a folder and it's sub-folders.

Version 1.25
Bug fixed for Chinese GB version.

Version 1.24
New function: check CRC code of zip files without unzip them.
Bug fixed: If there is a CRC error in zip file, the application will fall in a dead loop.

Version 1.23
Bug fixed: In Windows NT, 2000 or XP, "Reg Menu" function is invalid after shut down computer.

Version 1.22
Can extract Self-Extractor (.EXE) file.

Version 1.21
Add message pump into the loop to refresh GUI frequently.

Version 1.20
English version is released.

Version 1.10
User can set "Create sub-folder as zip file name" and "Keep dir structure as in zip file" when run Zip2Dir independently. The value will be reloaded when run it again or run it from Explorer's shortcut menu.

Version 1.00
1. Can do zip and unzip.
2. Can run it independently or trigger it from Explorer's shortcut menu.