[TC 11.00b8] UnZIPSeparateSubdirs = 1 does not enable the option with cm_UnpackFiles + parameters

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Amsis
Junior Member
Junior Member
Posts: 47
Joined: 2006-08-13, 09:09 UTC
Location: Italy

[TC 11.00b8] UnZIPSeparateSubdirs = 1 does not enable the option with cm_UnpackFiles + parameters

Post by *Amsis »

By entering the parameters, the option UnZIPSeparateSubdirs appears to be ignored. Is that correct?
This is my configuration:

In wincmd.ini:

Code: Select all

[Packer]
UnZIPSeparateSubdirs=1
In default.bar:

Code: Select all

button22=WCMICONS.DLL,31
cmd22=cm_UnpackFiles
param22=/T="%O"
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b8] UnZIPSeparateSubdirs = 1 does not enable the option with cm_UnpackFiles + parameters

Post by *petermad »

2Amsis
I guess you have to use:

Code: Select all

button22=WCMICONS.DLL,31
cmd22=cm_UnpackFiles
param22=/ST="%O"
I cannot say whether this is by design or a flaw that UnZIPSeparateSubdirs=1 is not respected when using parameter /T= with cm_UnpackFiles

I tried with UnZIPSeparateSubdirs=-2 and UnZIPSeparateSubdirs=-3 but these are not respected either.

I think it is a bug because ZIPDirectoryOfFile=0 and UnZIPOverwrite=1 are respected when using parameter /T=
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
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: 49100
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 11.00b8] UnZIPSeparateSubdirs = 1 does not enable the option with cm_UnpackFiles + parameters

Post by *ghisler(Author) »

UnZIPSeparateSubdirs=1 was indeed ignored when calling the command with parameters, only the S parameter was used. For consistency it would indeed be better to use the UnZIPSeparateSubdirs value as the default.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 15479
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 11.00b8] UnZIPSeparateSubdirs = 1 does not enable the option with cm_UnpackFiles + parameters

Post by *petermad »

history.txt wrote:25.06.23 Fixed: cm_UnpackFiles: UnZIPSeparateSubdirs=1 in wincmd.ini was ignored when calling the command with parameters (32/64)
Confirmed fixed in TC 11.00b9 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.50b4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1383a
TC 3.60b4 on Android 6, 13 & 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply