[TC 11.50b1] ZIPFROMLIST for 7zip

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
funkymonk
Senior Member
Senior Member
Posts: 491
Joined: 2013-12-04, 09:56 UTC

[TC 11.50b1] ZIPFROMLIST for 7zip

Post by *funkymonk »

It's great to have native 7zip support since TC 11.50b1! Thank you.

Now, it would be great if ZIPFROMLIST would support 7zip, too.
Either as a parameter to choose between zip/7zip or as a separate command.
hi5
Power Member
Power Member
Posts: 637
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: [TC 11.50b1] ZIPFROMLIST for 7zip

Post by *hi5 »

A parameter would be logical so it would be possible to call all other packers e.g. rar, arj etc.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
funkymonk
Senior Member
Senior Member
Posts: 491
Joined: 2013-12-04, 09:56 UTC

Re: [TC 11.50b1] ZIPFROMLIST for 7zip

Post by *funkymonk »

hi5 wrote: 2024-10-12, 07:53 UTC A parameter would be logical so it would be possible to call all other packers e.g. rar, arj etc.
Even better...
(However, I don't really expect support for arbitrary packers in ZIPFROMLIST. In fact, I think it would be a lot of effort to support all ZFL parameters for all possible packers.)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6950
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: [TC 11.50b1] ZIPFROMLIST for 7zip

Post by *Horst.Epp »

The syntax of 7z allows making a button which also sets all desired parameters.
Nevertheless, I support the request to add 7zip to the ZIPFROMLIST.

I use a button like this to pack from a TC selection.
This can easily be changed to pack from a list by replacing the %UL with the path to the list.

Code: Select all

TOTALCMD#BAR#DATA
"C:\Program Files\7-Zip\7z.exe"
a "%T%B"_%|$DATE:YMD_hm| @%UL -aoa -mmt -mx9 -ssw -stl -ssp -y
C:\Program Files\7-Zip\7zFM.exe
Pack selected

0
-1
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b1] ZIPFROMLIST for 7zip

Post by *ghisler(Author) »

You can also use cm_PackFiles instead of ZIPFROMLIST.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15997
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.50b1] ZIPFROMLIST for 7zip

Post by *petermad »

2ghisler(Author)
Can cm_PackFiles pack from a listfile?

Implementing for ZIPFROMLIST could be as simple at to use 7-Zip if the type of the stated archive is set to .7z
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50386
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.50b1] ZIPFROMLIST for 7zip

Post by *ghisler(Author) »

Can cm_PackFiles pack from a listfile?
No it can't - you could make a search and then feed the result to a panel before calling cm_PackFiles. ZIPFROMLIST would be useful, but the functions to do it aren't yet there, so it would take a while to implement.
Author of Total Commander
https://www.ghisler.com
User avatar
funkymonk
Senior Member
Senior Member
Posts: 491
Joined: 2013-12-04, 09:56 UTC

Re: [TC 11.50b1] ZIPFROMLIST for 7zip

Post by *funkymonk »

ghisler(Author) wrote: 2024-10-14, 15:25 UTC ZIPFROMLIST would be useful, but the functions to do it aren't yet there, so it would take a while to implement.
That would be great!
Post Reply