Is it possible to open an Everything window with a predefined search?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
supplementfacts
Posts: 10
Joined: Mon Sep 05, 2016 4:29 am

Is it possible to open an Everything window with a predefined search?

Post by supplementfacts »

I know that if you run C:\Program Files\Everything\Everything.exe it opens an Everything window. But is there any way to open a window with a specific string that automatically goes in the search box? For example, it would be nice to have a way (perhaps a hotkey) to run Everything so that it automatically searches for the string "*.txt".

Any help would be appreciated. Thanks!
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is it possible to open an Everything window with a predefined search?

Post by void »

Launch Everything with:

"C:\Program Files\Everything\Everything.exe" -s *.txt

Command Line Options
-s
supplementfacts
Posts: 10
Joined: Mon Sep 05, 2016 4:29 am

Re: Is it possible to open an Everything window with a predefined search?

Post by supplementfacts »

Thank you very much!
supplementfacts
Posts: 10
Joined: Mon Sep 05, 2016 4:29 am

Re: Is it possible to open an Everything window with a predefined search?

Post by supplementfacts »

Hi, I'm just following up on this. I have a new but related question.

Is it possible to open a new Everything window with a specific predefined string that goes into the search box?

Here's the situation behind my question. Sometimes I already have an Everything window with a lengthy and complicated string in the search box (and a lot of useful search results). But when I run "C:\Program Files\Everything\Everything.exe" -s *.txt it activates this existing Everything window and deletes the existing string in order to replace it with the string *.txt. The previous string is now gone forever and even Ctrl-Z cannot bring the string back. So I'd like to be able to run some sort of modified version of "C:\Program Files\Everything\Everything.exe" -s *.txt that opens a new Everything window and leaves all existing Everything windows untouched, instead of activating and usurping an existing Everything window.

Thanks!
void
Developer
Posts: 16773
Joined: Fri Oct 16, 2009 11:31 pm

Re: Is it possible to open an Everything window with a predefined search?

Post by void »

Please add -new-window to your command line:

"C:\Program Files\Everything\Everything.exe" -s *.txt -new-window
supplementfacts
Posts: 10
Joined: Mon Sep 05, 2016 4:29 am

Re: Is it possible to open an Everything window with a predefined search?

Post by supplementfacts »

void wrote: Sun Aug 06, 2023 11:03 pm Please add -new-window to your command line:

"C:\Program Files\Everything\Everything.exe" -s *.txt -new-window
Great, thanks!
Post Reply