solved [TC 11.00b3] Not all parameters for ZIPFROMLIST works in the Parameters field

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

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

solved [TC 11.00b3] Not all parameters for ZIPFROMLIST works in the Parameters field

Post by *petermad »

for the command I can put the <archive name> and the <filelist> in the Parameters field for a Button, an em_command or a Keyboard shortcut, but the parameters -m, -o, -c0-3 and -0-9 can NOT be in the Parameters field for it to work.

That is OK for Buttons and em_commands, but makes it impossible to use the parameters in a Keyboard shortcut (without going vis an em_command *).

This works:

Code: Select all

[em_myzipfromlist1]
cmd=ZIPFROMLIST -o
param="%|COMMANDER_PATH|\test\test.zip" %UF
But this does not work:

Code: Select all

[em_myzipfromlist2]
cmd=ZIPFROMLIST
param=-o "%|COMMANDER_PATH|\test\test.zip" %UF
This works *:

Code: Select all

[Shortcuts]
C+W=em_myzipfromlist1
C+W_params="%|COMMANDER_PATH|\test\test.zip" %UF
This works:

Code: Select all

[Shortcuts]
C+W=ZIPFROMLIST
C+W_params="%|COMMANDER_PATH|\test\test.zip" %UF
This does NOT work:

Code: Select all

[Shortcuts]
C+W=ZIPFROMLIST
C+W_params=-o "%|COMMANDER_PATH|\test\test.zip" %UF
Last edited by petermad on 2023-05-24, 20:04 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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b3] Not all parameters for ZIPFROMLIST works in the Parameters field

Post by *ghisler(Author) »

ZIPFROMLIST only handles parameters like -o in the command field. From the history:
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)
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b3] Not all parameters for ZIPFROMLIST works in the Parameters field

Post by *petermad »

Could that be changed, now that we have the option of using parameters in the Keyboard remapping?
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b3] Not all parameters for ZIPFROMLIST works in the Parameters field

Post by *ghisler(Author) »

Yes, I have already changed it after you reported it.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14741
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b3] Not all parameters for ZIPFROMLIST works in the Parameters field

Post by *petermad »

19.05.23 Fixed: ZIPFROMLIST now accepts flags like -0 also in the parameters field when the command field only contains ZIPFROMLIST itself, e.g. for hotkeys (32/64)

Confirmed fixed in TC 11.00b4 :-)
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply