Samuel wrote:Sorry, with match_beginning=1, I can't type the space character after '!'.fenix_productions wrote:2SamuelIts not a bug. The examples are written for the default values in "tcmatch.ini". The "!" before the search string just negates the result. All excluded files are included and vice versa.WatchUer wrote:Search for: "!.pdf"
Find: cat.bmp
Find not: cat.pdf
This does not work.
Actually, negate search won't work when match_beginning=1.
If you search for ".pdf" (match_beginning=1) you will not find "cat.pdf", because it doesn't start with a ".". So "!.pdf" will find "cat.pdf".
You can search for: " .pdf" to find "cat.pdf" and "! .pdf" will not find "cat.pdf".
QuickSearch eXtended
Moderators: Hacker, petermad, Stefan2, white
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
Please use the option: "allow_empty_result=1" in "tcmatch.ini".
The problem is: " " finds anything and so "! " finds nothing.
If you dont have the option "allow_empty_result=1" then TC just ignores the space because it would lead to an empty search result.
You could also copy "! .pdf" from notepad and paste it via contextmenu.
The problem is: " " finds anything and so "! " finds nothing.
If you dont have the option "allow_empty_result=1" then TC just ignores the space because it would lead to an empty search result.
You could also copy "! .pdf" from notepad and paste it via contextmenu.
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
I think Everything is a good File Indexing search, but I use Locate.ivanco9 wrote:What do you think about Everything.
Do you mean I should integrate "QuickSearch eXtended" in Everything or do you mean I should integrate Everything in "QuickSearch eXtended". I dont understand both ways.ivanco9 wrote:Will be wonderful if the quick search extended will be integrated with Everything.
Everything has already RegEx, etc. support and I cant get how I could use Everything in "QuickSearch eXtended". It searches on the whole Drive and not only the current folder. There are also some technical problems.
This will slow down the procedure very much. Why do you want that?ivanco9 wrote:Or If Quick Search Extender will search in the children directory of the current directory
If you dont know where your files are please use Everything or Locate.
Does anyone support searching in subfolders?
Like:
Code: Select all
Search for: tcmatch (in C:\Program Files\)
Find:
C:\Program Files\totalcmd (because of tcmatch.dll etc.)
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2Samuel
I think that searching in subfoders would be too much for QSX. QS should focus on filtering of the current files list and stay away from hidden data. I see no reason why should it work as in your example. From my point of view this is overkill.
If I want to see what is below, I can switch to branch view and use QS then.
P.S. I am also Locate32 user
I think that searching in subfoders would be too much for QSX. QS should focus on filtering of the current files list and stay away from hidden data. I see no reason why should it work as in your example. From my point of view this is overkill.
If I want to see what is below, I can switch to branch view and use QS then.
P.S. I am also Locate32 user

"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
I am trying to explain what I mean.Samuel wrote: It searches on the whole Drive and not only the current folder. There are also some technical problems.
...
If you dont know where your files are please use Everything or Locate.
Look the plugin FSE for totalcmd. This plugin allows fast search through external engine like Everything or Locate
I think, that using this plugin is not easy, because the user need to switch to it, type what he want to search, see the results and go to target directory...
Therefore, I prefer to launch Everything (or Locate) and use it for search under the following scenario:
I am opening Everything, specify the "search in" for example typing "d:\code" , type what I want to search in this directory/subdirectories and open search result directory in the totalcmd (see Everything's faq
How can I set "Everything" to use an external file manager?)
But, If I will be able to use Quick Search for this, will use current directory for specify "search in" and will see the result of search of Everything/Locate in totalcmd panel that will be very useful, i think not only for me.
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
This can't be done because TCs QuickSearch works in a different way:
The match function is called for all currently displayed files in the panel. All I can do for a match function call is to say "yes" or "no" to the file. If I say "yes" its not filtered otherwise it is filtered out.
I do not give in a list of files to display in the panel. I have to filter the current.
All I can do is the following: When the match function should decide about saying "yes" or "no" to a folder I could look into that folder and look for matching files. If a file inside the folder matches I could say "yes" to the folder. (So the folder would be displayed and not the file itself.)
All you could do is using branch view. Press "Ctrl+b" and then filter files with QuickSearch.
The match function is called for all currently displayed files in the panel. All I can do for a match function call is to say "yes" or "no" to the file. If I say "yes" its not filtered otherwise it is filtered out.
I do not give in a list of files to display in the panel. I have to filter the current.
All I can do is the following: When the match function should decide about saying "yes" or "no" to a folder I could look into that folder and look for matching files. If a file inside the folder matches I could say "yes" to the folder. (So the folder would be displayed and not the file itself.)
All you could do is using branch view. Press "Ctrl+b" and then filter files with QuickSearch.
Unfortunately, sometimes it is impossible, for example I have a folder "d:\code", there are many code-projects (work copy of subversion repository). There are many .svn files and folders as result the full construction branch view (ctrl + b) occupies about 3 minutes.
But I know that I want to find some files like this simple pattern: "*Repository.cs"
IMO Everything/Location + TotalCmd (when I can get search result in the TC panel) is the best shell explorer in the world
But I know that I want to find some files like this simple pattern: "*Repository.cs"
IMO Everything/Location + TotalCmd (when I can get search result in the TC panel) is the best shell explorer in the world

- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
Nothing I can do.
My opinion: If you use Everything more then once a week, then you should consider structuring your folders.
I use it from time to time if I search some files in "documents-and-settings-jungle".
Edit: Whats so difficult to press on a ButtonBar button, write the search terms and finally doubleclick on the file to open it in TC?
Its almost the same like TCs internal search.
My opinion: If you use Everything more then once a week, then you should consider structuring your folders.
I use it from time to time if I search some files in "documents-and-settings-jungle".

Edit: Whats so difficult to press on a ButtonBar button, write the search terms and finally doubleclick on the file to open it in TC?
Its almost the same like TCs internal search.
Last edited by Samuel on 2009-07-24, 10:07 UTC, edited 2 times in total.
- fenix_productions
- Power Member
- Posts: 1979
- Joined: 2005-08-07, 13:23 UTC
- Location: Poland
- Contact:
2ivanco9
It is impossible to get what you want using tcmatch.dll.
Did you try to configure FSE plugin? It supports both: Locate32 and Everything. With user commands and proper shortcuts assignment it might be possible to get close enough to what you need.
It is impossible to get what you want using tcmatch.dll.
Did you try to configure FSE plugin? It supports both: Locate32 and Everything. With user commands and proper shortcuts assignment it might be possible to get close enough to what you need.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...
#128099
#128099
I'm a programmer, typing on a keyboard for me is easy way to get what i want. Therefore I use Everything because it is the quickest and easiest way to get some files. For this purpose, I use "TypeAndRun" instead of "Windows Start Menu" too..Samuel wrote:Nothing I can do.
My opinion: If you use Everything more then once a week, then you should consider structuring your folders.
I use it from time to time if I search some files in "documents-and-settings-jungle".
Edit: Whats so difficult to press on a ButtonBar button, write the search terms and finally doubleclick on the file to open it in TC?
Its almost the same like TCs internal search.
1/2 OFFTOP
Question about buton on the QSE .. Can I replace the action of button on the QSE and use it for get typed parameters and to send it to any other application - to the Everything application for example ?
I tried to use FSE but for me faster to open Everything and to type what I want, and after get results go to the TotalCmd Panelfenix_productions wrote:2ivanco9
It is impossible to get what you want using tcmatch.dll.
Did you try to configure FSE plugin? It supports both: Locate32 and Everything. With user commands and proper shortcuts assignment it might be possible to get close enough to what you need.
- Samuel
- Power Member
- Posts: 1930
- Joined: 2003-08-29, 15:44 UTC
- Location: Germany, Brandenburg an der Havel
- Contact:
There is only this function in the "tcmatch.dll":
There is no button function. You could of cause write your own "tcmatch.dll" detecting whenever "wcFilter" changes. Then you could send it to Everything. I dont get how this could help, because you do not get the Files back to TC automatically.
Edit: I also open locate itself, instead of using FSE. its easier.
@a Moderator: Perhaps this should be split to: "[Req] Better integration of Everything/Locate"
Code: Select all
BOOL __stdcall MatchFileW(WCHAR* wcFilter,WCHAR* wcFilename);
Edit: I also open locate itself, instead of using FSE. its easier.
@a Moderator: Perhaps this should be split to: "[Req] Better integration of Everything/Locate"