Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip
Moderators: Hacker, petermad, Stefan2, white
Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip
When deleting any file from a zip archive with external 7zip this error message appears.
"Cannot find external pack program! You need to install and configure
an external packer to handle this specific archive"
After closing this message Packer configuration (not Zip Packer) opens automatically.
Bug appears with my usual Wincmd.ini and with a fresh one.
Bug appears with 7z.exe & 7zG.exe.
Bug appears with any type of Zip file, created by 7Zip or not.
Bug appears with any type of file names, so is not related to names starting with spaces.
Bug appears with archives with only 1 file or archives with many files and directories.
Tested on Tc 11.00b8 32bits & 7Zip 23.01 32bits // Windows 10 22H2 32Bits
If you need more info please let me know, best regards.
Last edited by Galizza on 2023-06-28, 21:02 UTC, edited 1 time in total.
Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip
whats in your wincmd.ini for the following ?
Code: Select all
[Packer]
UnZIP=
ZIP=
Hoecker sie sind raus!
Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip
I think that i have found a work around for this bug.
If i start Tc 11.00b8 with a fresh ini, and i select C:\Program Files\7-Zip\7zG.exe as Zip packer on configuration, this line appears on my Wincmd.ini
ZIP=C:\Program Files\7-Zip\7zG.exe
And bug appears anytime that i try to delete a file from a Zip archive.
But if i open again Zip packer configuration section, and add quotes to 7zG.exe path like this "C:\Program Files\7-Zip\7zG.exe" then this line appears on my Wincmd.ini
ZIP=""C:\Program Files\7-Zip\7zG.exe""
And files are deleted succesfully
Best regards.
Tested on Tc 11.00b8 32bits & 7Zip 23.01 32bits // Windows 10 22H2 32Bits
Last edited by Galizza on 2023-06-23, 06:42 UTC, edited 2 times in total.
Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip
Sir_SiLvA wrote: whats in your wincmd.ini for the following ?Code: Select all
[Packer] UnZIP= ZIP=
With these settings bug appears anytime i try to delete files from a Zip archive
Code: Select all
[Packer]
ZIP=C:\Program Files\7-Zip\7zG.exe
Code: Select all
[Packer]
ZIP=""C:\Program Files\7-Zip\7zG.exe""
Tested on Tc 11.00b8 32bits & 7Zip 23.01 32bits // Windows 10 22H2 32Bits
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: [Tc 11.00b8] Bug deleting files from zip with external 7zip
The path to the program must indeed be put in double quotes when it contains spaces. I will add them when using the >> button. You will still get an error when just pasting the path because TC cannot know where the pameters begin.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip
Bug solved. Thanks
Tested on Tc 11.00b9 32Bits // Windows 10 22H2 32Bits
Tested on Tc 11.00b9 32Bits // Windows 10 22H2 32Bits
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Fixed [Tc 11.00b8] Bug deleting files from zip with external 7zip
It now also works even without quotes! TC was cutting off extra parameters added by the user, e.g. to enable the mcu. These do not work when deleting, so they have to be removed.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com