Should %tmp% match "Temporary Internet Files"?

Found a bug in "Everything"? report it here
Post Reply
etc
Posts: 49
Joined: Tue Jun 24, 2014 7:17 pm

Should %tmp% match "Temporary Internet Files"?

Post by etc »

Search: %tmp%
The result contains "Temporary Internet Files".
void
Developer
Posts: 15095
Joined: Fri Oct 16, 2009 11:31 pm

Re: Should %tmp% match "Temporary Internet Files"?

Post by void »

Please enable Expand environment variables:
  • In Everything, from the Tools menu, click Options.
  • Click the Search tab on the left.
  • Check Expand environment variables.
  • Click OK.
Note: With this enabled, it will be impossible to search for %tmp% and match files with %tmp% in the filename.

I have on my TODO list to add a expand: search modifier.
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Should %tmp% match "Temporary Internet Files"?

Post by NotNull »

Should %tmp% match "Temporary Internet Files"?
I think it does.
On a default system %TMP% expands to C:\Users\<USERNAME>\AppData\Local\Microsoft\Windows\Temp
Temporary Internet Files: C:\Users\<USERNAME>\AppData\Local\Microsoft\Windows\Temporary Internet Files

So, searching for %tmp% will find C:\Users\<USERNAME>\AppData\Local\Microsoft\Windows\Temporary Internet Files, unless you use the "Match Whole Word" search option. (Menu:Serach > Match Whole Word or any of the other ways to set this option)

EDIT: Or search for: %tmp%\
NotNull
Posts: 5167
Joined: Wed May 24, 2017 9:22 pm

Re: Should %tmp% match "Temporary Internet Files"?

Post by NotNull »

void wrote:With this enabled, it will be impossible to search for %tmp% and match files with %tmp% in the filename..
This query seems to work:

Code: Select all

regex:(%)tmp(%)
I have on my TODO list to add a expand: search modifier.
Could that also be done with a search macro?
(like amp: or apos: , but then something like pct: for a literal "%" )
void
Developer
Posts: 15095
Joined: Fri Oct 16, 2009 11:31 pm

Re: Should %tmp% match "Temporary Internet Files"?

Post by void »

#37:tmp#37: could also be used, I like the #pct: idea.
Could that also be done with a search macro?
Currently, no.
Post Reply