Quickview zip file: use "root" readme not "first" readme

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Quickview zip file: use "root" readme not "first" readme

Post by *hi5 »

I noticed that when I do a quickview on an archive it shows the readme.txt/md/file_id.diz in the panel but it uses the first it can find and not the one in the root of the archive so to speak - this makes it less useful for me (as the first readme in such cases often have something like "places files here" or "image folder" and not the description of the "thing" (program, archive) as intended when the archive was created.

Example: If you have an archive with the structure as below, it shows the contents of "testzip\folder2\readme.txt" and not the one from the root "testzip\readme.txt" when you do a Quick View.

Code: Select all

testzip.zip
 \testzip\folder1\file.txt
 \testzip\folder2\readme.txt
 \testzip\readme.txt
 \testzip\file.txt
I would prefer to be able to see the "root" version even it would mean it might become a "bit slower" (if that was the reason to use "first" vs "root"). If need be via a INI setting if the current behaviour is required to be standard.
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Quickview zip file: use "root" readme not "first" readme

Post by *Usher »

2hi5
There is no file in a root folder in your case. I suppose that you want to display readme from the root or topmost folder rather than the first readme listed in the archive.
Andrzej P. Wozniak
Polish subforum moderator
hi5
Power Member
Power Member
Posts: 551
Joined: 2012-11-03, 11:35 UTC
Contact:

Re: Quickview zip file: use "root" readme not "first" readme

Post by *hi5 »

Yes, top-most, this also shows "folder2\readme.txt" not "\readme.txt"

Code: Select all

testzip.zip
 \folder1\file.txt
 \folder2\readme.txt
 \readme.txt
 \file.txt
F4MiniMenu (Forum) - Open selected file(s) from TC in defined editor(s) - A (minimalistic) clone of F4Menu
Source at GitHub (AutoHotkey). TCSyncComments (copy file comments)
User avatar
petermad
Power Member
Power Member
Posts: 14810
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: Quickview zip file: use "root" readme not "first" readme

Post by *petermad »

Support++
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.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
funkymonk
Senior Member
Senior Member
Posts: 416
Joined: 2013-12-04, 09:56 UTC

Re: Quickview zip file: use "root" readme not "first" readme

Post by *funkymonk »

Support++
Post Reply