2
Peter18
in you wincmd.ini you have:
But do you have a pkunzip.exe file in your system? If you do, it will work with if you add the path to pkunzip.exe - but then it will be pkunzip that unpacks the zip file, not 7-zip.
As said before you can you can NOT make TC use 7zG.exe for unpacking zip files by using the UNZIP parameter.
You can make TC use 7-zip for unpacking
7z (not -zip) files by removing or renaming the file Tc7z64.dll in TC's program directory - then it will use the Total7zip plugin.
But TC's internal 7z unpacker (Tc7z64.dll) is based on the official standalone unpacker from 7-zip, so there is no reason to believe that it should be slower.
You should not have:
Code: Select all
zip=735,C:\NEW Desktop PC - MyFiles\Utils and Drivers\Total Commander - Installed\plugins\wcx\Total7zip\Total7zip.wcx
in your ini file - at best it will not work, and it could give problems.
___________________________________
But now that we have made it work for the 7zip_zip extension for you, then we can go further.
You can configure TC to OPEN a zip file with the Total7zip plugin by making an internal association to *.zip files using this for the Open action: **7zip_zip - see:
https://tcmd.madsenworld.dk/7zipassociation.png
in wincmd.ini the code would be:
Code: Select all
[Associations]
Filter1=*.zip
Filter1_open=**7zip_zip
Where you would have to change the 1's if you already have other internal associations.
Then when you press Enter or Ctrl+PgDn, or Double-click a .zip file, it will now use 7-zip to open it and ALSO for copying files from the opened zip file. It will still be TC's unpacking dialog that is shown though.
You can check whether the zip file is opened with Total7zip: Highlight a file inside the zip-file and press Alt+Enter - if the properties dialog show:
Packer: 7zip_zip
then it is opened with the plugin.
If You press Alt+F9 on the zip file, it will still use the standard method of unpacking the entire file.
So to summarize - use:
Code: Select all
[PackerPlugins]
7zip_zip=735,%COMMANDER_PATH%\plugins\wcx\Total7zip\Total7zip.wcx
[Packer]
ZIP=""C:\Program Files\7-Zip\7zG.exe""
InternalZip=0
zip7z=1
InternalUnzip=1
[Associations]
Filter1=*.zip
Filter1_open=**7zip_zip
___________________________________
I recommend that you use %COMMANDER_PATH% instead of "C:\NEW Desktop PC - MyFiles\Utils and Drivers\Total Commander - Installed" - then it will also work if you use it with a TC installed elsewhere.
You can use:
Code: Select all
pluginbasedir=%COMMANDER_PATH%\PLUGINS
in the [Configuration] section of your wincmd.ini - then TC will use that for future plugin installations.