Why does TC use the filename "pack.zip" when packing 'archives'?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
Rekrul
Junior Member
Junior Member
Posts: 69
Joined: 2007-11-04, 21:40 UTC

Why does TC use the filename "pack.zip" when packing 'archives'?

Post by *Rekrul »

If you tell TC to pack any file that is classified as an archive, it will suggest the generic name of "pack.zip", rather than giving it the name of the original file.

Through packer plugins, TC can be configured to open all sorts of files, not just traditional compressed archives. I have plugins for opening C64 disk images (D64), Amiga disk images (ADF), ISO files, etc.

I often want to compress some of these files and I find it mildly annoying that when I tell it to pack such files, it defaults to the generic name of "pack.zip" (or "pack.rar", etc), requiring me to manually change the name. Or I can check the option to create a separate archive for each file, which will use the original name, but it also includes the original extension, which I have to then go in and delete. OK, I don't have to delete it, but I always do.

Is there any way, short of removing the packer plugins, to get TC to use the original filename as the default when packing 'archive' files?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Why does TC use the filename "pack.zip" when packing 'archives'?

Post by *ghisler(Author) »

It only suggests pack.zip when there is a danger of a name collision.
Normally it suggests
1. The name of the file+.zip when packing only one file
2. The name of the folder+zip when packing multiple files
3. pack.zip when packing multiple files in the root of a drive, or packing a zip file (so the names would be the same)
Author of Total Commander
https://www.ghisler.com
User avatar
Gral
Power Member
Power Member
Posts: 1609
Joined: 2005-01-26, 15:12 UTC

Re: Why does TC use the filename "pack.zip" when packing 'archives'?

Post by *Gral »

2. The name of the folder+zip when packing multiple files OR SINGLE ARCHIVE FILE (except Root)
Rekrul
Junior Member
Junior Member
Posts: 69
Joined: 2007-11-04, 21:40 UTC

Re: Why does TC use the filename "pack.zip" when packing 'archives'?

Post by *Rekrul »

ghisler(Author) wrote: 2022-03-31, 14:16 UTC It only suggests pack.zip when there is a danger of a name collision.
Normally it suggests
1. The name of the file+.zip when packing only one file
2. The name of the folder+zip when packing multiple files
3. pack.zip when packing multiple files in the root of a drive, or packing a zip file (so the names would be the same)
When packing a file that is considered an archive, it never[/i[ uses the original name;

D64 'archive' being packed from the root of a drive and from a sub-directory;

[img]https://i.ibb.co/885yrb0/Archive-Pack1.png[/img]
[img]https://i.ibb.co/tMG17xp/Archive-Pack2.png[/img]
Rekrul
Junior Member
Junior Member
Posts: 69
Joined: 2007-11-04, 21:40 UTC

Re: Why does TC use the filename "pack.zip" when packing 'archives'?

Post by *Rekrul »

Rekrul wrote: 2022-04-02, 02:21 UTC
ghisler(Author) wrote: 2022-03-31, 14:16 UTC It only suggests pack.zip when there is a danger of a name collision.
Normally it suggests
1. The name of the file+.zip when packing only one file
2. The name of the folder+zip when packing multiple files
3. pack.zip when packing multiple files in the root of a drive, or packing a zip file (so the names would be the same)
When packing a file that is considered an archive, it never uses the original name;

D64 'archive' being packed from the root of a drive and from a sub-directory;

[img]https://i.ibb.co/885yrb0/Archive-Pack1.png[/img]
[img]https://i.ibb.co/tMG17xp/Archive-Pack2.png[/img]
Post Reply