Page 1 of 1
Should %tmp% match "Temporary Internet Files"?
Posted: Wed Jul 05, 2017 8:01 am
by etc
Search: %tmp%
The result contains "Temporary Internet Files".
Re: Should %tmp% match "Temporary Internet Files"?
Posted: Wed Jul 05, 2017 8:56 am
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.
Re: Should %tmp% match "Temporary Internet Files"?
Posted: Wed Jul 05, 2017 9:36 am
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%\
Re: Should %tmp% match "Temporary Internet Files"?
Posted: Wed Jul 05, 2017 9:27 pm
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:
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 "%" )
Re: Should %tmp% match "Temporary Internet Files"?
Posted: Wed Jul 05, 2017 11:55 pm
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.