[Implemented] Change to implementation of command ZIPFROMLIST

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[Implemented] Change to implementation of command ZIPFROMLIST

Post by *petermad »

As it is now the command ZIPFROMLIST only supports the name of the archive in the command field of buttons and em_commands.

Button example:

Code: Select all

TOTALCMD#BAR#DATA
ZIPFROMLIST -o SELECTEDFILES.zip
%Y%F
wcmicons.dll,30
Pack marked files directly to SELECTEDFILES.zip

0
-1

It would be nice if the name of the file could also be put in the parameters field, so that the archive name could be created dynamically, like:

Code: Select all

TOTALCMD#BAR#DATA
ZIPFROMLIST -o
"%O.zip" %Y%F
wcmicons.dll,30
Pack marked files directly to archive with name as file under cursor

0
-1
To make the buttons:
1. Mark the green text above (click SELECT ALL).
2. Copy it to the ClipBoard (press Ctri+C).
3. Right click on TC's buttonbar and choose "Paste".
Last edited by petermad on 2021-05-29, 19:22 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Change to implementation of command ZIPFROMLIST

Post by *ghisler(Author) »

Thanks for the suggestion, that should be doable.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14807
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Change to implementation of command ZIPFROMLIST

Post by *petermad »

history.txt wrote:08.06.20 Added: Improved ZIPFROMLIST command: The file list name can now contain Unicode characters, and the content can be ANSI, UTF-16 (with byte order marker BOM) or UTF-8 (with or without BOM) (32/64)
08.06.20 Added: Improved ZIPFROMLIST command: The archive name can now also be put in the parameters field. In this case, it must be surrounded by double quotes "" if it contains spaces. Parameters like -o must still be in the command field (32/64)
07.06.20 Fixed: F5 copy between drives -> footer in source window wasn't updated (64)
Thanks for implementing this :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply