See content of a compressed files (ZIP/RAR etc...) in Quick View

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
leo007
Junior Member
Junior Member
Posts: 42
Joined: 2019-10-28, 08:09 UTC

See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *leo007 »

Hi all,
There are many handy listers to view various types of content inside Quick View.
I was unable to find one for viewing compressed files so when I try to "cm_SrcQuickview" on zipped file I only get garbage text.

The use of "Cm_TransferRight" is not ideal since the right panel will change its directory location, requiring me to switch tabs and then click go back to the previous location directory ("cm_GotoPreviousDir").

It would be great to be able to see the content of the compressed file in Quick View without having to open it, Is this possible?
Many thanks for help in advance :)
User avatar
petermad
Power Member
Power Member
Posts: 15561
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *petermad »

2leo007
Quickview for archives will try and display the content of any FILE_ID.DIZ inside the archove, or the first .txt file it finds.
That applies to for example zip, exe, tar, arj, lzh , jar archives but not rar and 7z archives.

For .lst archives Quickview shows the file list as tabulated text.
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
Horst.Epp
Power Member
Power Member
Posts: 6710
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *Horst.Epp »

Ulister shows the file list in Quick View for Zip and 7z files.
Unfortunately not for RAR.
Windows 11 Home, Version 24H2 (OS Build 26100.2161)
TC 11.50b5 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1, Listary Pro 6.3.1.81
QAP 11.6.4 x64
User avatar
tuska
Power Member
Power Member
Posts: 3911
Joined: 2007-05-21, 12:17 UTC

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *tuska »

Horst.Epp wrote: 2024-10-30, 12:55 UTC Unfortunately not for RAR.
Maybe not every .rar file.

I found one exception by accident:
The plug-in Clear History TC 1.5 offers the file “CH4TC_1.5.rar” for download.

The file list can be displayed using the “uLister” plug-in.


uLister Plugin (wlx): Step-by-step guide (German)
User avatar
Gral
Power Member
Power Member
Posts: 1518
Joined: 2005-01-26, 15:12 UTC

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *Gral »

Look here - viewtopic.php?p=403695#p403695

And here - viewtopic.php?t=78870 - (REQUEST)
User avatar
nsp
Power Member
Power Member
Posts: 1858
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *nsp »

It is not consistent as for many archive, it show by default the content of a txt or md file if found in the root of the zip.
After you have some plugin like total7Zip or Ulister which can get some informations or the listing...
leo007
Junior Member
Junior Member
Posts: 42
Joined: 2019-10-28, 08:09 UTC

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *leo007 »

petermad wrote: 2024-10-30, 12:40 UTC
Horst.Epp wrote: 2024-10-30, 12:55 UTC
tuska wrote: 2024-10-30, 14:35 UTC
Gral wrote: 2024-10-30, 15:25 UTC
nsp wrote: 2024-10-30, 15:29 UTC
many thanks for all responses :)

I have Ulister installed however it's doesn't detect Zip files.
Once I adjust the [ListerPlugins] by adding to %COMMANDER_PATH%\plugins\wlx\ulister\ulister.wlx

Code: Select all

EXT="ZIP" 
Ulister Quick view will show following error for zip files:
Error
A viewer for this format is not currently available.
Solution suggested by the following link viewtopic.php?p=403695#p403695 also doesn’t change a thing unfortunately.
As I strictly followed the instructions
1. Install Anycmd lister plugin - https://totalcmd.net/plugring/anycmd.html
2. Install RAR console program - http://www.rarlab.com/
3. edit ANYCMD.INI in plugin directory, change "command" line to looks like: command=C:\Program Files\WinRAR\Rar.exe l -scA "%s"

Initially it was:

Code: Select all

[AnyCmd]
command=sort %s
DetectString=EXT=TXT
Stream=3
I adjusted it to be:

Code: Select all

[AnyCmd]
command=C:\Program Files\WinRAR\Rar.exe l -scA "%s"
DetectString=EXT=TXT
Stream=3
Update
when I also adjust a string DetectString=EXT=ZIP then AnyCmd Lister will be trigger
but it will show information about the zip archive and not the inner content.


Would be happy to hear any other ideas and suggestion
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6710
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *Horst.Epp »

There is no special setup required for ULister.
I associated nothing to it and put it as the last entry of the Lister plugins.
This way it handles all extensions which are not matched by another plugin above.
According to its formats.txt, ULister handles the following archives this way
1802 - .ZIP/JAR File
1803 - Self UnZIPping .EXE
1804 - .ARC File
1805 - MS Office Binder
1806 - UNIX Compress
Windows 11 Home, Version 24H2 (OS Build 26100.2161)
TC 11.50b5 x64 / x86
Everything 1.5.0.1383a (x64), Everything Toolbar 1.5.1, Listary Pro 6.3.1.81
QAP 11.6.4 x64
User avatar
tuska
Power Member
Power Member
Posts: 3911
Joined: 2007-05-21, 12:17 UTC

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *tuska »

uLister
Oracle Outside In Technology 8.5.7 Supported Formats (October 2024)

This is what I have...
(However, I use "Define view method by file type..." for several file extensions...).

wincmd.ini - section [ListerPlugins]

Code: Select all

0=%COMMANDER_PATH%\Plugins\wlx\ulister\ulister.wlx64
0=   ... In my case, the uLister plugin is at the top of the list of Lister plugins.
The plugins are processed from top to bottom.

2leo007
Please remove this entry:
EXT="ZIP"
joe910
Junior Member
Junior Member
Posts: 40
Joined: 2009-02-23, 03:05 UTC
Location: Peoria, IL USA

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *joe910 »

I have no special view methods defined nor special set up of ULister.

Like Horst.Epp:
I associated nothing to it and put it as the last entry of the Lister plugins.
This way it handles all extensions which are not matched by another plugin above.
I am able to see all Zip, 7-Zip and RAR except RAR version 4 archives, which is not listed in the document that tuska listed.
leo007
Junior Member
Junior Member
Posts: 42
Joined: 2019-10-28, 08:09 UTC

Re: See content of a compressed files (ZIP/RAR etc...) in Quick View

Post by *leo007 »

joe910 wrote: 2024-10-31, 16:38 UTC I associated nothing to it and put it as the last entry of the Lister plugins.
This way it handles all extensions which are not matched by another plugin above.
2Horst.Epp, 2tuska, 2joe910 Thank you very much it helped :)
Post Reply