7.5PB2:Packing from inside archive doesn't work in some case
Moderators: white, Hacker, petermad, Stefan2
7.5PB2:Packing from inside archive doesn't work in some case
The case is packing to the same panel.
1. Enter some archive.
2. Open the "Pack Files" dialog.
3. Clear the path, so there's only file name as the target.
4. OK
5. TC shows an "unpack files" dialog.
6. OK
7. TC created a directory with the name that you chosen for the archive.
When I saw that I thought "Oh, sure, that's because I'm in c:\a.zip and it tries to pack into c:\a.zip\a.7z".
No. Repeat all the steps, but prepend archive name with ..\
The result is identical, ..\ doesn't even change the output directory.
1. Enter some archive.
2. Open the "Pack Files" dialog.
3. Clear the path, so there's only file name as the target.
4. OK
5. TC shows an "unpack files" dialog.
6. OK
7. TC created a directory with the name that you chosen for the archive.
When I saw that I thought "Oh, sure, that's because I'm in c:\a.zip and it tries to pack into c:\a.zip\a.7z".
No. Repeat all the steps, but prepend archive name with ..\
The result is identical, ..\ doesn't even change the output directory.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I don't see any bug here. When you pack with Alt+F5, there is a prefix zip: or rar: for the used packer (zip and rar in these examples). When you remove the prefix, TC will just copy (or when you press Alt+F5 in an archive, unpack) to the given destination.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Why? The idea behind it is when you have an archive in the target panel and press F5 - TC will offer to pack to that archive, so the user cannot copy the files. He can, however, by removing the zip: prefix. Even the title bar of the dialog changes when he does this! It has been like this for many many years...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
2 advanced TC users didn't notice that it was an user error. Don't you think that something's wrong in there?
If I press Alt+F5, it should be clear the I want to pack files. I see no case when sb. would use this hotkey and not want to pack anything. Besides, the title bar of this dialog doesn't change.
If I press Alt+F5, it should be clear the I want to pack files. I see no case when sb. would use this hotkey and not want to pack anything. Besides, the title bar of this dialog doesn't change.
- ghisler(Author)
- Site Admin
- Posts: 48088
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Sorry, I don't plan to change that. If you remove the zip: prefix, it's clear that you will not pack the file. It has never been reported as a problem for the last 10 years...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com