Variables in search path?

General discussion related to "Everything".
Post Reply
captainchilipepper
Posts: 2
Joined: Thu Feb 15, 2024 12:15 am

Variables in search path?

Post by captainchilipepper »

Is there a current feature in Everything 1.4 through which I can use variables in my search path?
We have our documents in folders by prefixes

Documents

├ ─AA
│⠀⠀├ ─AA1
│⠀⠀├ ─AA2
├ ─BB
│⠀⠀├ ─BB1
├ ─CC
│⠀⠀├ ─CC1

Is there a way for me to search a path with a variable? "C:\Users\Documents\<variable>" <AA> 1

I need to often jump between one prefix and another when searching documents.

I understand that I could setup a bookmark and macro for every prefix however we have a lot prefixes and I am hoping there is an easier way to accomplish this.
void
Developer
Posts: 16745
Joined: Fri Oct 16, 2009 11:31 pm

Re: Variables in search path?

Post by void »

Please try the following filter:
  • In Everything 1.4, from the Search menu, click Add to filters.
  • Change the Name to:
    Documents Variable
  • Change the Search to:
    "C:\Users\Documents\"search:
  • Change the Macro to:
    dv<search>
    (dv can be any short text you like)
Searching for:

dv:AA

is now replaced with:

"C:\Users\Documents\"AA
captainchilipepper
Posts: 2
Joined: Thu Feb 15, 2024 12:15 am

Re: Variables in search path?

Post by captainchilipepper »

Thank you so much! this exactly what I was looking to implement.
Post Reply