Remove from search after searched

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
JimmyTheBroker
Member
Member
Posts: 179
Joined: 2017-06-07, 05:22 UTC

Remove from search after searched

Post by *JimmyTheBroker »

Hi guys,

Lets say I preform a search on a folder, and the result comes up with a bunch of different types of file types.

Is there a way (once the search has been completed and in the feedlist box), to remove all .mp4 files, etc without removing them from a directory?

In other words, remove unwanted folders from the search results, to make it clearer to find what I am looking for.


Thanks,
Jimmy 8)
User avatar
Gral
Power Member
Power Member
Posts: 1460
Joined: 2005-01-26, 15:12 UTC

Post by *Gral »

1. Select all but *.mp4 files - "Mark" -"Select group" - type:

Code: Select all

*.* | *.mp4
2. Choose: "Show" - "Only selected files"

"remove unwanted folders from the search results" is something completly different.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Re: Remove from search after searched

Post by *tuska »

JimmyTheBroker wrote:... Is there a way (once the search has been completed and in the feedlist box), to remove all .mp4 files, etc without removing them from a directory?...
If you use QuickSearch eXtended then after "Feed to listbox" type in

Code: Select all

!.mp4 ........... if you want to exclude only files with extension .mp4
!.mp4 | !.ext ... if you want to exclude more than one extension (example: !.mp4 | !.ion)
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.
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Post by *ts4242 »

There are three commands you can use

Code: Select all

[________________Mark________________]=0
cm_SelectBoth=3311;Select group: files+folders
cm_SelectFiles=3312;Select group: just files
cm_SelectFolders=3313;Select group: just folders
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

2JimmyTheBroker
Once you have feed the searh result to listbox, do a second search where you search for: |*.mp4 to exclude mp4 files from the first search. You can feed the new result to listbox - it will replace the previous feed.
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.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply