Make %Z work with /S=L and /S=C inside arhives

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

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

Make %Z work with /S=L and /S=C inside arhives

Post by *petermad »

When trying to open a separate Lister or Compare window from for example a button, using totalcmd.exe as command with /S=L or /S=C as parameter it is not possible inside archives:

1. If I use the %Z paramter I get a "File not found!" message showing the "path" to the file inside the archive - for example c:\test.zip\test.txt.

2. If I don't use the %Z parameter I get the message: "This function cannot be used with packed files!"

Expected behaviour when using the %Z parameter is that TC unpacks the selected file to %temp% dir and then shows/compares it - just as if the internal commands cm_List or cm_IntCompareFilesByContent had been used.
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: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

%Z just tells TC to not validate the parameters and run the program with the parameters as specified by the users. This is mainly meant for programs which can handle archives themselves. Currently it's unfortunately not possible to unpack files as needed, sorry.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16032
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

This is mainly meant for programs which can handle archives themselves.
And one should think that TC itself would be one of those programs ;-)
Currently it's unfortunately not possible to unpack files as needed,
That's why this is a feature request for the future.
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
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

Support++;

Please consider better integration of archives for TC 8.0.
Not only opening files (from buttonbar) from a zip file without extracting them manually, but also for viewing Thumbnail in archives, etc.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50541
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

And one should think that TC itself would be one of those programs
TC yes, but the compare tool or Lister know nothing about archives...
Author of Total Commander
https://www.ghisler.com
User avatar
Samuel
Power Member
Power Member
Posts: 1930
Joined: 2003-08-29, 15:44 UTC
Location: Germany, Brandenburg an der Havel
Contact:

Post by *Samuel »

But TC could:
1) unzip such files to a temp dir
2) call the prog with the external tool
3) wait until the program closes
4) check for changes
5) rezip the files

Also from FTP, plugins etc... (where copying is supported.)
Post Reply