Call Everything with search pattern as parameter?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
pstein
Posts: 59
Joined: Thu Aug 07, 2014 6:18 pm

Call Everything with search pattern as parameter?

Post by pstein »

Can I call Everything with a pattern as search parameter?

Assume I want to search for pattern "aaa bbb" then I need something like

D:\tools\Everything\everything.exe -search "aaa bbb"

But this doesn't work.

Is it possible otherwise?

Thank you
Peter
void
Developer
Posts: 16841
Joined: Fri Oct 16, 2009 11:31 pm

Re: Call Everything with search pattern as parameter?

Post by void »

Please escape double quotes with triple double quotes:
D:\tools\Everything\everything.exe -search """"aaa bbb""""

Note: you will need to use an additional double quote to escape the space.
happer66
Posts: 1
Joined: Sun Jul 23, 2017 8:36 pm

Re: Call Everything with search pattern as parameter?

Post by happer66 »

Or try something like this

Code: Select all

C:\Program Files\Everything\Everything.exe -search "aaa "bbb
I know it looks odd, but it should work.
aussieboykie
Posts: 35
Joined: Sun Mar 08, 2015 11:05 pm

Re: Call Everything with search pattern as parameter?

Post by aussieboykie »

How do I pass a quoted search string to Everything?

As expected, everything -s "expense claims\" gives me:
Everything1.jpg
Everything1.jpg (7.89 KiB) Viewed 4967 times
This is what I want to achieve (showing a hand coded example):
Everything2.jpg
Everything2.jpg (8.13 KiB) Viewed 4967 times
I had hoped that triple quotes would do the trick but everything -s """expense claims\""" gives me an Unable to open file list: error.
aussieboykie
Posts: 35
Joined: Sun Mar 08, 2015 11:05 pm

Re: Call Everything with search pattern as parameter?

Post by aussieboykie »

Oops. Already answered here.
Post Reply