partial extracted file not deleted
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: partial extracted file not deleted
Sorry, I thought that you were talking about PK_CAPS_BY_CONTENT, which would be 64, not 256.
If you look at the binary form of 735, 0010 1101 1111 you can see that 256 isn't part of it.
Looking from right to left, the following values are set
1 PK_CAPS_NEW: Can create new archives
2 PK_CAPS_MODIFY: Can modify existing archives
4 PK_CAPS_MULTIPLE: Archive can contain multiple files
8 PK_CAPS_DELETE: Can delete files
16 PK_CAPS_OPTIONS: Has options dialog
64 PK_CAPS_BY_CONTENT: Detect archive type by content
128 PK_CAPS_SEARCHTEXT: Allow searching for text in archives created with this plugin
512 PK_CAPS_ENCRYPT: Plugin supports encryption.
Subtracting 256 would change the flags to 0001 1101 1111, which would disable encryption and add this:
256 PK_CAPS_HIDE: Don't show packer icon, don't open with Enter but with Ctrl+PgDn
PK_CAPS_HIDE hide is meant for extensions like .docx or .chm which should still be opened with their associated program when you press Enter.
If you look at the binary form of 735, 0010 1101 1111 you can see that 256 isn't part of it.
Looking from right to left, the following values are set
1 PK_CAPS_NEW: Can create new archives
2 PK_CAPS_MODIFY: Can modify existing archives
4 PK_CAPS_MULTIPLE: Archive can contain multiple files
8 PK_CAPS_DELETE: Can delete files
16 PK_CAPS_OPTIONS: Has options dialog
64 PK_CAPS_BY_CONTENT: Detect archive type by content
128 PK_CAPS_SEARCHTEXT: Allow searching for text in archives created with this plugin
512 PK_CAPS_ENCRYPT: Plugin supports encryption.
Subtracting 256 would change the flags to 0001 1101 1111, which would disable encryption and add this:
256 PK_CAPS_HIDE: Don't show packer icon, don't open with Enter but with Ctrl+PgDn
PK_CAPS_HIDE hide is meant for extensions like .docx or .chm which should still be opened with their associated program when you press Enter.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: partial extracted file not deleted
2ghisler(Author)
You're avoiding the question again. I already see descriptions of flags in the help. 735 was indicated by me after subtracting 256 from 991, I would definitely not offer to subtract it again.
I repeat: I am NOT asking about opening and viewing the archive list, but specifically about UNPACKING AFTER opening, i.e. after pressing Enter and selecting the necessary files in the archive. After that, what will the unpacking be done with — an internal function or at the expense of the plugin?
You're avoiding the question again. I already see descriptions of flags in the help. 735 was indicated by me after subtracting 256 from 991, I would definitely not offer to subtract it again.

I repeat: I am NOT asking about opening and viewing the archive list, but specifically about UNPACKING AFTER opening, i.e. after pressing Enter and selecting the necessary files in the archive. After that, what will the unpacking be done with — an internal function or at the expense of the plugin?
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: partial extracted file not deleted
PK_CAPS_HIDE has no influence on unpacking after opening. You can see what is used by pressing Alt+Enter on any file in the archive.
The internal one will be shown as 7zip (dll).
The external will be shown as the extension with which the plugin is installed.
On my system, 7z is used for the 7zip plugin and 7z2 for the Total7zip plugin.
The internal one will be shown as 7zip (dll).
The external will be shown as the extension with which the plugin is installed.
On my system, 7z is used for the 7zip plugin and 7z2 for the Total7zip plugin.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: partial extracted file not deleted
Thanks for the reply. And why don't you add a new flag that will be responsible for unpacking? Isn't it better/faster to unpack using a built-in function, and to package using a plugin?
Overquoting is evil! 👎
Re: partial extracted file not deleted
for zip and rar, there's no "dll" or "not dll".
it's always "zip" and "rar" for internal and external.
it's always "zip" and "rar" for internal and external.
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: partial extracted file not deleted
To force open a 7z file with a specific unpacker, you can use internal associations (open or extra verbs).
The commands would be:
**7z -> opens with the plugin defined for 7z
**internal_7z -> opens with the internal 7zip unpacker.
The commands would be:
**7z -> opens with the plugin defined for 7z
**internal_7z -> opens with the internal 7zip unpacker.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: partial extracted file not deleted
Again you write about the opening. Without the 256 flag, I already get a forced opening by default. Why do I need internal associations? I suggest a flag specifically for unpacking bypassing the plugin.
Overquoting is evil! 👎
- ghisler(Author)
- Site Admin
- Posts: 50386
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: partial extracted file not deleted
Because the method you open the file with is then also used to unpack the file.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: partial extracted file not deleted
will be fixed?
by 7zip (both dll and standalone).
no.ghisler(Author) wrote: 2023-03-06, 15:01 UTC So the problem is caused by total7zip, if I understand you correctly?
by 7zip (both dll and standalone).