Use WinRAR as default ZIP packer / unpacker (ZIP2RAR)
Moderators: Hacker, petermad, Stefan2, white
Use WinRAR as default ZIP packer / unpacker (ZIP2RAR)
I noticed a big performance improvement when using WinRAR (Zip mode) instead of the internal TC Zip functionality so I wrote a little translator to use WinRAR as the default Zip application.
These are two short AutoIt scripts (source included) that translate the PKZIP specific command line switches and expand the short file names in the file list.
Put them in the TC folder along with WinRAR.exe and configure TC as follows:
Packer -> Zip Packer: zip2rar.exe
Use Internal disabled
Packer -> Zip Unpacker: unzip2rar.exe
Use Internal disabled
Use the debug versions to show the command lines.
Please report any errors or suggestions and/or your performance measurements.
Download
These are two short AutoIt scripts (source included) that translate the PKZIP specific command line switches and expand the short file names in the file list.
Put them in the TC folder along with WinRAR.exe and configure TC as follows:
Packer -> Zip Packer: zip2rar.exe
Use Internal disabled
Packer -> Zip Unpacker: unzip2rar.exe
Use Internal disabled
Use the debug versions to show the command lines.
Please report any errors or suggestions and/or your performance measurements.
Download
-
- Junior Member
- Posts: 2
- Joined: 2008-05-09, 18:39 UTC
When entering an archive and trying to extract a directory containing subdirectories, this is the result:
Looks like the hardcoded TC packer integration is rather limited and not meant to be tricked with a proxy unpacker. 
Icfu
Code: Select all
---------------------------
Total Commander
---------------------------
Unfortunately, unpacking directories from a ZIP subdirectory cannot be realised with PKUNZIP with reasonable expense!
Please use the built-in unzipper or unzip from the ZIP file's ROOT directory!
---------------------------
OK
---------------------------

Icfu
This account is for sale
- ghisler(Author)
- Site Admin
- Posts: 50479
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
2icfu
The problem is that there is no command to tell pkunzip to unpack dirs from a zip subdir and NOT keep the full name, but only the relative name to the subdir. Since there is no such command, there is also no way to tell it to a replacement unpacker...
The problem is that there is no command to tell pkunzip to unpack dirs from a zip subdir and NOT keep the full name, but only the relative name to the subdir. Since there is no such command, there is also no way to tell it to a replacement unpacker...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
WinRAR doesn't have these limitations:
So, the problem is that the command line is limited to the abilities of PKZIP/PKUNZIP.
It would be much better if all parameters would be freely adjustable, with the standard PK(UN)ZIP parameters being the default.
If would be even better if TC would offer a way to integrate custom command line packers also for different extensions, for example for .7z. If you need something to work on, this would be nice for TC 8...
Icfu
Code: Select all
WinRAR.exe x "X:\path\to\bla.zip" directory\subdirectory
It would be much better if all parameters would be freely adjustable, with the standard PK(UN)ZIP parameters being the default.
If would be even better if TC would offer a way to integrate custom command line packers also for different extensions, for example for .7z. If you need something to work on, this would be nice for TC 8...

Icfu
This account is for sale