Strange problem

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
rulexx
Posts: 2
Joined: Fri Mar 10, 2017 10:03 am

Strange problem

Post by rulexx »

Hello everyone,

i have a strange issue with everything.

I want to search for new created folders from today on my OS SSD, but ony in the folders

C:\Users
C:\ProgramData
C:\Program Files
C:\Program Files (x86)

except folders from Microsoft, Norton, Google, Thunderbird, Sun, Java.

I wrote this parameter:

datecreated:today c:\users !thunderbird !microsoft !chrome !Sun|datecreated:today C:\ProgramData !norton !windows !microsoft !Java|datecreated:today C:\Program Files !windowsapps !norton !Java|datecreated:today C:\Program Files (x86) !norton !Java

until now it works fine. But now did a new installation of my OS and when i copy this parameter in Everything i get no results. But new folders were definitely created.

When i try to write it new, it doesn't hide the mentioned folders.
search.JPG
search.JPG (91.95 KiB) Viewed 2234 times
Maybe someone can help to find the correct serach parameter.


Many thanks in advance.
void
Developer
Posts: 16752
Joined: Fri Oct 16, 2009 11:31 pm

Re: Strange problem

Post by void »

Did you previously have match path enabled from the Search menu?

Also, please group your terms with < and > otherwise the terms next to | are evaluated first, please try searching for:
datecreated:today <c:\users\ !thunderbird !microsoft !chrome !Sun>|<C:\ProgramData\ !norton !windows !microsoft !Java>|<"C:\Program Files\" !windowsapps !norton !Java>|<"C:\Program Files (x86)\" !norton !Java>

If you prefer the old method where | is evaluated last:
  • In Everything, from the Tools menu, click Options.
  • Click the Search tab on the left.
  • Change Operator precedence to: AND > OR.
Use double quotes to escape spaces in paths.

With match path disabled, please try searching for:
datecreated:today <c:\users\ !path:thunderbird !path:microsoft !path:chrome !path:Sun>|<C:\ProgramData\ !path:norton !path:windows !path:microsoft !path:Java>|<"C:\Program Files\" !path:windowsapps !path:norton !path:Java>|<"C:\Program Files (x86)\" !path:norton !path:Java>

However, this may remove some files which you may still want visible, for example, !path:sun would remove c:\users\...\nsUnicode.c, please try searching for:
datecreated:today <c:\users\ !*\thunderbird\* !*\microsoft\* !*\chrome\* !*\Sun\*>|<C:\ProgramData\ !*\norton\* !*\windows\* !*\microsoft\* !*\Java\*>|<"C:\Program Files\" !*\windowsapps\* !*\norton\* !*\Java\*>|<"C:\Program Files (x86)\" !*\norton\* !*\Java\*>
rulexx
Posts: 2
Joined: Fri Mar 10, 2017 10:03 am

Re: Strange problem

Post by rulexx »

void wrote:Did you previously have match path enabled from the Search menu?
Ah i think i forgot this point. Now it works like before. Thank you very much.
And also thanks for the other examples.
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: Strange problem

Post by NotNull »

Although your question is already nicely answered, some extra thoughts:

[*]
I want to search for new created folders ...
In that case you could add folder: to your query, to get just the folders.

[*] AFAIK, search queries are resolved from left to right. If you don't have creation date indexed ( Menu:Tools > Options > Indexes: Index date created ) you can better put dc: more to the right of your query as it can be an 'expensive' thing to ask.
(Not entirely sure about this mechanism, though. I wouldn't be surprised if Everything is clever enough to recognizd this and shuffle the order by itself)

[*] Depending on what you want with the results of your query, you might consider a less strict query, with probably the same results:

Code: Select all

folder: < c:\users\ | "c:\program files\" | "c:\program files (x86)\" | C:\programdata\> !\Norton\  !\Microsoft  !\Sun\  !\Java\  !\Thunderbird\  !\Google\ dc:today
( !\Microsoft : exclude all folders starting with Microsoft )

or even:

Code: Select all

folder: < c:\users\ | c:\program >  !\Norton\  !\Microsoft  !\Sun\  !\Java\  !\Thunderbird\  !\Google\  dc:today
Post Reply