beta4: ZIPFROMLIST "-0" is annoying
Moderators: Hacker, petermad, Stefan2, white
beta4: ZIPFROMLIST "-0" is annoying
TC11beta3
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0-3 and 0-9)
TC11beta4
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0-3 and -0-9)
I think the minus before 0 is annoying.
Maybe -0 ... -9 is ok if (-)minus sign is for parameters.
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0-3 and 0-9)
TC11beta4
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0-3 and -0-9)
I think the minus before 0 is annoying.
Maybe -0 ... -9 is ok if (-)minus sign is for parameters.
Re: beta4: ZIPFROMLIST "-0" is annoying
It corresponds to: -c0-3 = -c0...-c3
It was me who asked for the - before 0 - otherwise people might think they could just write 0 instead of -0 as parameter
It was me who asked for the - before 0 - otherwise people might think they could just write 0 instead of -0 as parameter
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
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
Re: beta4: ZIPFROMLIST "-0" is annoying
I know that.petermad wrote: 2023-05-26, 19:07 UTC It corresponds to: -c0-3 = -c0...-c3
It was me who asked for the - before 0 - otherwise people might think they could just write 0 instead of -0 as parameter
But (-) before zero for me is not ok.
If you want a better solution I suggest
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0-3 and -0.. -9)
or
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list [supports parameters -m, -o, -c0-3 and -(0...9)]
The meaning is very simple: that you can choose between 0 to 9 compression rate an minus is just a separator of parameters.
Into Dialog box: Configuration - Change button bar now it is:
5. With the command ZIPFROMLIST, you can create a zip file from a list of files. The command field must contain the zip file name, and the parameters field the name of the list file. Alternatively, the zip file name may be put at the start of the parameters field, surrounded by double quotes "" if it contains a space. The list file must contain a list of files to be packed, one file per line (ANSI, UTF-16 or UTF-8, with byte order marker BOM). A parameter like %F may be used for the selected files in the active panel.
Supports the following parameters, put in front of the zip file name (only in the field 'Command'): -m move, -o overwrite without asking, -0 .. -9 compression rate, -c0 encrypt (zip20), -c1 AES128, -c2 AES192, -c3 AES256, -c0pass .. -c3pass encrypt with given password
So, the parameter (compression rate) -0 .. -9 is very clear expose. Exactly what I aks: to be like into help file, witch is very clear. It's a must to have consistency.
BTW, I saw that into TOTALCMD.INC the parameter %F is not mentioned.
Re: beta4: ZIPFROMLIST "-0" is annoying
That's OK with me, but then it should be:If you want a better solution I suggest
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0-3 and -0.. -9)
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0..-c3 and -0..-9)
to be consistent. (and without space after ..)
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
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
Re: beta4: ZIPFROMLIST "-0" is annoying
How about:
Code: Select all
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c[0-3] and -[0-9])
Re: beta4: ZIPFROMLIST "-0" is annoying
I'm ok with this.petermad wrote: 2023-05-27, 09:53 UTCThat's OK with me, but then it should be:If you want a better solution I suggest
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0-3 and -0.. -9)
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c0..-c3 and -0..-9)
to be consistent. (and without space after ..)
Re: beta4: ZIPFROMLIST "-0" is annoying
Better!white wrote: 2023-05-27, 10:49 UTC How about:Code: Select all
ZIPFROMLIST <archive name> <filelist>=-26;Pack files from list (supports parameters -m, -o, -c[0-3] and -[0-9])
Should be put also in Help file in the same manner.
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: beta4: ZIPFROMLIST "-0" is annoying
How about simply
-c0..3 and -0..9
-c0..3 and -0..9
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: beta4: ZIPFROMLIST "-0" is annoying
but not more intuitively than it was before.How about simply
petermad made a really good suggestion again:
Code: Select all
-c0..-c3 and -0..-9
#146217 personal license
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: beta4: ZIPFROMLIST "-0" is annoying
OK, I can live with that.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: beta4: ZIPFROMLIST "-0" is annoying
Confirmed changed in TC 11.00b5 
But in wcmd_deu.inc the line:
-26="Dateien aus Liste packen (unterstützt Parameter -m, -o, -c0..-c3 and -0..-9)"
should be:
-26="Dateien aus Liste packen (unterstützt Parameter -m, -o, -c0..-c3 und -0..-9)"

But in wcmd_deu.inc the line:
-26="Dateien aus Liste packen (unterstützt Parameter -m, -o, -c0..-c3 and -0..-9)"
should be:
-26="Dateien aus Liste packen (unterstützt Parameter -m, -o, -c0..-c3 und -0..-9)"
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
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
- ghisler(Author)
- Site Admin
- Posts: 50390
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: beta4: ZIPFROMLIST "-0" is annoying
OK, German translation fixed, no need for a new bug report.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com