How to display only ZIP files and hide folders?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
zeronofreya
Junior Member
Junior Member
Posts: 9
Joined: 2022-04-20, 13:14 UTC

How to display only ZIP files and hide folders?

Post by *zeronofreya »

Screenshot of the "Define selection"-Dialog:
Image: https://raw.githubusercontent.com/ZeronoFreya/Gallery/master/q_q_q.png



Please remove the "_" 's from q_q_q to make the link work
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6976
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: How to display only ZIP files and hide folders?

Post by *Horst.Epp »

Make a button with the following command

Code: Select all

TOTALCMD#BAR#DATA
cd *.zip|*\

WCMICONS.DLL,24
Files only


-1
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
zeronofreya
Junior Member
Junior Member
Posts: 9
Joined: 2022-04-20, 13:14 UTC

Re: How to display only ZIP files and hide folders?

Post by *zeronofreya »

Thank you very much, how do you write a custom type?
For example, pic means all image types?
User avatar
white
Power Member
Power Member
Posts: 5819
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: How to display only ZIP files and hide folders?

Post by *white »

2zeronofreya
Do you see in your screenshot the last tab named "Load/Save"?
zeronofreya
Junior Member
Junior Member
Posts: 9
Joined: 2022-04-20, 13:14 UTC

Re: How to display only ZIP files and hide folders?

Post by *zeronofreya »

white wrote: 2022-04-20, 17:06 UTC 2zeronofreya
Do you see in your screenshot the last tab named "Load/Save"?
Is there any connection between this?
do you mean let me create a pic?
pic is there already, I don't know how to call it

cd >pic|*\ not work
User avatar
white
Power Member
Power Member
Posts: 5819
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: How to display only ZIP files and hide folders?

Post by *white »

I see, you want to filter dirs using a defined file type or in combination with defined file type. Regretfully, I think that's not possible. See: Request for Saved Search in Show Custom Crtl+12 to Display Only Files

You may want to add your support for such feature.
User avatar
tuska
Power Member
Power Member
Posts: 4059
Joined: 2007-05-21, 12:17 UTC

Re: How to display only ZIP files and hide folders?

Post by *tuska »

This plugin might be of interest: QuickSearch eXtended Version 2.2.7
Simply type .zip into the active window of TC and everything else (folders, irrelevant files) will be hidden.

Favourites can also be created, e.g.

Code: Select all

1 "!.aac|.ac3|.aif|.aifc|.aiff|.au|.cda|.dts|.fla|.flac|.it|.m1a|.m2a|.m3u|.m4a|.mid|.midi|.mka|.mod|.mp2|.mp3|.mpa|.ogg|.ra|.rmi|.spc|.rmi|.snd|.umx|.voc|.wav|.wma|.xm|.ani|.bmp|.gif|.ico|.jpe|.jpeg|.jpg|.pcx|.png|.psd|.tga|.tif|.tiff|.wmf|.3g2|.3gp|.3gp2|.3gpp|.amr|.amv|.asf|.avi|.bdmv|.bik|.d2v|.divx|.drc|.dsa|.dsm|.dss|.dsv|.evo|.f4v|.flc|.fli|.flic|.flv|.hdmov|.ifo|.ivf|.m1v|.m2p|.m2t|.m2ts|.m2v|.m4b|.m4p|.m4v|.mkv|.mp2v|.mp4|.mp4v|.mpe|.mpeg|.mpg|.mpls|.mpv2|.mpv4|.mov|.mts|.ogm|.ogv|.pss|.pva|.qt|.ram|.ratdvd|.rm|.rmm|.rmvb|.roq|.rpm|.smil|.smk|.swf|.tp|.tpr|.ts|.vob|.vp6|.webm|.wm|.wmp|.wmv"
a .aac|.ac3|.aif|.aifc|.aiff|.au|.cda|.dts|.fla|.flac|.it|.m1a|.m2a|.m3u|.m4a|.mid|.midi|.mka|.mod|.mp2|.mp3|.mpa|.ogg|.ra|.rmi|.spc|.rmi|.snd|.umx|.voc|.wav|.wma|.xm
p .ani|.bmp|.gif|.ico|.jpe|.jpeg|.jpg|.pcx|.png|.psd|.tga|.tif|.tiff|.wmf
d .msg|.c|.chm|.cpp|.csv|.cxx|.doc|.docm|.docx|.dot|.dotm|.dotx|.h|.hpp|.htm|.html|.hxx|.ini|.java|.lua|.mht|.mhtml|.odt|.pdf|.potx|.potm|.ppam|.ppsm|.ppsx|.pps|.ppt|.pptm|.pptx|.rtf|.sldm|.sldx|.thmx|.txt|.vsd|.wpd|.wps|.wri|.xlam|.xla|.xls|.xlsb|.xlsm|.xlsx|.xltm|.xltx|.xml
e .bat|.cmd|.exe|.msi|.msp|.msu|.scr
r ?\.3gp$|\.asf$|\.avi$|\.dat$|\.flv$|\.m4v$|\.mov$|\.mp4$|\.mpe$|\.mpeg$|\.mpg$|\.qt$|\.ra$|\.ram$|\.rm$|\.vob$|\.wmv$
t *.txt|*.rtf
v .3g2|.3gp|.3gp2|.3gpp|.amr|.amv|.asf|.avi|.bdmv|.bik|.d2v|.divx|.drc|.dsa|.dsm|.dss|.dsv|.evo|.f4v|.flc|.fli|.flic|.flv|.hdmov|.ifo|.ivf|.m1v|.m2p|.m2t|.m2ts|.m2v|.m4b|.m4p|.m4v|.mkv|.mp2v|.mp4|.mp4v|.mpe|.mpeg|.mpg|.mpls|.mpv2|.mpv4|.mov|.mts|.ogm|.ogv|.pss|.pva|.qt|.ram|.ratdvd|.rm|.rmm|.rmvb|.roq|.rpm|.smil|.smk|.swf|.tp|.tpr|.ts|.vob|.vp6|.webm|.wm|.wmp|.wmv
y ?^(?!\d\d\d\d\-\d\d-\d\d_).+
z .7z|.ace|.arj|.bz2|.cab|.gz|.gzip|.jar|.r00|.r01|.r02|.r03|.r04|.r05|.r06|.r07|.r08|.r09|.r10|.r11|.r12|.r13|.r14|.r15|.r16|.r17|.r18|.r19|.r20|.r21|.r22|.r23|.r24|.r25|.r26|.r27|.r28|.r29|.rar|.tar|.tgz|.z|.zip
Use the favourites as follows:
- TYPE IN >p in the active TC window -> for pictures
- TYPE IN >1 in the active TC window -> to NOT display pictures ("!.jpg"), etc. (the listed file types)

Before typing in you could use the shortcut CTRL + S to open the input field of QuickSearch eXtended too (but this is not necessary).
CTRL + SHIFT + S opens the input field and brings your last search parameters, then you can add/adapt your search parameters.

[Option: CTRL+B Directory branch: Show contents of current dir and all subdirs in one list]
zeronofreya
Junior Member
Junior Member
Posts: 9
Joined: 2022-04-20, 13:14 UTC

Re: How to display only ZIP files and hide folders?

Post by *zeronofreya »

2tuska Thanks, maybe this is the only way out now.
User avatar
Gral
Power Member
Power Member
Posts: 1600
Joined: 2005-01-26, 15:12 UTC

Re: How to display only ZIP files and hide folders?

Post by *Gral »

If you need really easy solution just press CTRL+F12 and enter extensions for image files which you want to see, e.g.
*.bmp *.gif *.jpeg *.jpg *.png (and so on)
Note that TC does not contains out of the box ready to use sets "picture" "movies" or any other.
You can prepare such a set yourself and save for later use.
Note that for some people "IMG" means image that is picture, while for the others "IMG" is rather disk image, so no picture.
Post Reply