# Fast search with Everything v2

**URL:** <https://resource.dopus.com/t/fast-search-with-everything-v2/31470>\
**Category:** Buttons/Scripts\
**Created:** [February 4, 2019, 11:57pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470 "2019-02-04T23:57:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 4, 2019, 11:57pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/1 "2019-02-04T23:57:51Z")

</div>

**What Does It Do?**

This is a rewrite of the [original](https://resource.dopus.com/t/fast-search-with-everything/21974) **Everything** and **ES** front end. Its purpose remains the same but the user commands have changed. When you copy **_ets.js.txt_** into your Script Addins folder, five commands are added:

**ET** - front end to everything.exe  
**ES** - front end to es.exe used to create an Opus collection from its output  
**ESPLUS** - front end to es.exe used to add to an Opus collection  
**CLIPTOCOL** - used to create a collection from file specs captured on the clipboard  
**CLIPTOCOLPLUS** - used to add to a collection from file specs captured on the clipboard

These commands can be triggered from buttons or as instant commands (_Type \> followed by the command_). Examples:

**CLIPTOCOL**  
**CLIPTOCOLPLUS**  
**ET** _dm:last1mins path:!/temp_  
**ES** _size:\>200mb_  
**ESPLUS** _size:\>200mb_

For both **ET** and **ES** , aliases are resolved before the relevant underlying command is executed.  
**CLIPTOCOL** and **CLIPTOCOLPLUS** rely on one or more full path filespecs being present on the clipboard.

**Installation**

[ets.js.txt](https://resource.dopus.com/uploads/default/original/3X/6/0/60768231dd7ee4686ecf107a39892d305c0f268e.txt) (12.1 KB)

**Version 2.4 dated 22nd February 2019**

Copy **_ets.js.txt_** into your Script Addins folder (alias = /scripts)  
Optionally modify command defaults. _Settings --\> Preferences --\> Toolbars --\> Scripts --\> ets_

![etsconf](https://resource.dopus.com/uploads/default/original/3X/a/a/aa78e55a0473bdd0b042618c87b6109bb856f12c.jpeg)

**everything.exe** and **es.exe** need to be present in your system and locatable. Go to [David Carpenter's website](https://voidtools.com/downloads/) to download the latest code. The _ **lookin** _ option can be used to point to where they are if they are not in one of the default locations. If you add a custom location containing spaces, e.g. **E:\Program Files\Everything** , do not use quotes.

**Usage**

Executing **ET** or **ES** with no arguments always forces a prompt. Otherwise, by default, **ES** commands prompt the user before being executed and **ET** commands do not. The **_etprompt_** and **_esprompt_** options can be used to control this and pressing any qualifier key at run time will reverse whatever behaviour is in force.

A typical prompt looks like this:

![etsprompt](https://resource.dopus.com/uploads/default/original/3X/c/0/c088755f1a0e6963e9dac9df620a889185eb8ae6.jpeg)

**Below** means restrict the search to the current folder and any subfolders.  
**Here** means restrict the search to the current folder.

**Sample Buttons**

Drag the attached dcf file to a toolbar while in Customize mode.

[etsmenu.dcf](https://resource.dopus.com/uploads/default/original/3X/c/5/c55b0939f0f29ef3749cac121bdec0a7fb41daa4.dcf) (12.5 KB)

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 5, 2019, 11:42pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/2 "2019-02-05T23:42:44Z")

</div>

Updated to v2.1 to address ES handling of non-ASCII file names.

---

<div class="post-metadata">

**Author:** ![sfuller](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@sfuller](https://resource.dopus.com/u/sfuller)\
**Post date:** [February 6, 2019, 6:06am UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/3 "2019-02-06T06:06:33Z")

</div>

I can't get lookin to accept `E:\Program Files\Everything`. I've tried quotes, with and without trailing backslash.

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 6, 2019, 6:43am UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/4 "2019-02-06T06:43:49Z")

</div>

> [@sfuller](#):
>
> I can't get lookin to accept `E:\Program Files\Everything`. I've tried quotes, with and without trailing backslash

Please try with double backslashes. `E:\\Program Files\\Everything`

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 6, 2019, 7:32am UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/5 "2019-02-06T07:32:40Z")

</div>

> [@sfuller](#):
>
> I can't get lookin to accept E:\Program Files\Everything.

Can you please be a bit more specific. Are you saying you can't add the path to the lookin option or some other problem? It works here.

![lookin](https://resource.dopus.com/uploads/default/original/3X/e/5/e546acd801b1b760356c93378203153bfe5f0993.jpeg)

---

<div class="post-metadata">

**Author:** ![sfuller](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@sfuller](https://resource.dopus.com/u/sfuller)\
**Post date:** [February 6, 2019, 5:19pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/6 "2019-02-06T17:19:26Z")

</div>

![image](https://resource.dopus.com/uploads/default/original/3X/2/2/220bc2c6f614340d8d89bf0fb494e7c37c41499e.png)

---

<div class="post-metadata">

**Author:** ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)\
**Post date:** [February 6, 2019, 5:23pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/7 "2019-02-06T17:23:36Z")

</div>

The quotes should not be there, based on Aussieboyke's example above.

---

<div class="post-metadata">

**Author:** ![sfuller](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/c6cbf5/32.png) [@sfuller](https://resource.dopus.com/u/sfuller)\
**Post date:** [February 6, 2019, 5:31pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/8 "2019-02-06T17:31:49Z")

</div>

As stated above, I tried it both ways. In the example he doesn't have quotes because he's using the alias /programfiles. That gave me the idea to create an alias called epf referencing e:\program files. /epf\everything works.

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 7, 2019, 2:16am UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/9 "2019-02-07T02:16:13Z")

</div>

After [correspondence with the developer](https://www.voidtools.com/forum/viewtopic.php?f=5&t=7473) on the Everything forum, I have been able to revert to my original preferred approach of importing to a collection directly from an intermediate file generated by ES. I have updated the head post with version 2.0a. This version also adds a **_matchdiacritics_** configuration option.

![matchdiacritics](https://resource.dopus.com/uploads/default/original/3X/2/5/256d0d91f88f28c8fa18a592b752381c92f00313.jpeg)

If this option is set to **_false_** (the default) then searching for **wfn:prüfung.txt** will find both **prüfung.txt** and **prufung.txt**. Setting it to **_true_** will eliminate the latter match.

---

<div class="post-metadata">

**Author:** ![StephB](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@StephB](https://resource.dopus.com/u/StephB)\
**Post date:** [February 20, 2019, 8:51pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/10 "2019-02-20T20:51:12Z")

</div>

Good morning, everyone,

I followed the instructions to install this scipt. I have a problem... because a double " \ \ " appears automatically which prevents it from working, but if I manually delete a " \ " the search gives the right result.

Do you have any idea how to remove that extra " \ " in the code that is automatically put in?

Thank you for your advice and help 😉  
StephB

![1](https://resource.dopus.com/uploads/default/original/3X/4/3/43439e2d3fcb82d3a47b141b42c386fa98f36b3f.png)

 ![2](https://resource.dopus.com/uploads/default/original/3X/e/6/e6e66c4ea9765f64cf44ba7bc2bca8dbd2e33f60.png) ![3](https://resource.dopus.com/uploads/default/original/3X/2/f/2f0265af53a27600af0eb0ca4ff76cafeb6ab9ff.png)

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 20, 2019, 10:24pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/11 "2019-02-20T22:24:44Z")

</div>

> [@StephB](#):
>
> Do you have any idea how to remove that extra " \ " in the code that is automatically put in?

Thanks for reporting that bug Steph. I have fixed it and updated the head post with version 2.3 which also adds **ESPLUS** and **CLIPTOCOLPLUS** commands. As their names suggest, these commands add matching items to the target collection. The sample menu of buttons has also been updated to include the new commands.

---

<div class="post-metadata">

**Author:** ![StephB](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@StephB](https://resource.dopus.com/u/StephB)\
**Post date:** [February 21, 2019, 3:57pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/12 "2019-02-21T15:57:15Z")

</div>

Hi Aussieboykie,

Thank you for your answer AND fix the problem so quickly! 🙂

I tested it quickly and it seems perfect to me. Thank you for your script/code: -)  
StephB

---

<div class="post-metadata">

**Author:** ![StephB](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@StephB](https://resource.dopus.com/u/StephB)\
**Post date:** [February 21, 2019, 4:35pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/13 "2019-02-21T16:35:05Z")

</div>

I have one more question. Is it possible to choose which bouton is proposed by default?

Let me explain, currently it is the "Anywhere" button that is activated if you just "enter". Would it be possible to set the "Here" button to enabled by default. Since I launch my order from Opus and know what directory I am in, it makes more sense (in my opinion) to be able to just "enter" to launch the "here" command, so with the "Here" button preactivated.

I am not English-speaking, tell me if I misunderstand: -(

StephB!

![2019-02-21_17-33-48](https://resource.dopus.com/uploads/default/original/3X/c/5/c54b2f1d483c5d39fba9472881ab886f45d1d20d.png)

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 21, 2019, 7:16pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/14 "2019-02-21T19:16:39Z")

</div>

> [@StephB](#):
>
> Is it possible to choose which bouton is proposed by default?

It should be doable. I'll have a look and post back later.

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [February 22, 2019, 12:01am UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/15 "2019-02-22T00:01:48Z")

</div>

> [@StephB](#):
>
> Is it possible to choose which bouton is proposed by default?

I have updated the head post with version 2.4 which includes a configuration option to choose which button is the default. The normal default is 1 ( **_Anywhere_** ). Change the value of **defbutton** to 3 if you want **_Here_** to be the default.

---

<div class="post-metadata">

**Author:** ![StephB](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@StephB](https://resource.dopus.com/u/StephB)\
**Post date:** [February 22, 2019, 3:39pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/16 "2019-02-22T15:39:47Z")

</div>

Hello Aussieboykie

It's just... perfect! this new possibility to change the active button is great

Thank you for everything:-)  
StephB

---

<div class="post-metadata">

**Author:** ![linusdl](https://resource.dopus.com/letter_avatar_proxy/v4/letter/l/43a26b/32.png) [@linusdl](https://resource.dopus.com/u/linusdl)\
**Post date:** [April 24, 2019, 4:23pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/17 "2019-04-24T16:23:52Z")

</div>

Hi, the use of Everything, is great, I agree is very fast! and compensate for the lack of a properly Win10 search (not reliable and very little documentation)  
I want to see if you can help me to figure out the syntax that should be simple:

1. In the sub-menu the dialog box says: Anywhere, Below, Here or cancel,  
it is clear the "Anywhere", but Below? or Here I can see how they really work.

2. I want to find in the folder f:\0 fall 2018  
A pdf file that has recognizable text  
A file that has a word report 1 in the name  
and the content should find Dr. Osgood  
I tried: to use ET from the menu that I installed based on your instructions, I entered:  
"F:0 fall 2018" "report 1"\*.pdf content:"Dr. Osgood"  
It finds nothing  
I tried a few variations like  
"F:0 fall 2018" report 1 \*.pdf  
It finds all the ones that have the word report and is pdf  
but if I add  
"F:0 fall 2018" report 1 \*.pdf content:"dr. osgood"  
finds nothing  
I found no way to add any content:"any name"  
It would be great if you could add maybe 5 or 10 typical "proper" use cases?  
This would save me and maybe many others piles of time.

Thanks !!  
PD: Directory Opus Pro 12.14 Build 7045 x64  
OS 10.0 (B:17763 P:2 T:1) SP 0.0

---

<div class="post-metadata">

**Author:** ![aussieboykie](https://resource.dopus.com/user_avatar/resource.dopus.com/aussieboykie/32/23729_2.png) [@aussieboykie](https://resource.dopus.com/u/aussieboykie)\
**Post date:** [April 24, 2019, 11:34pm UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/18 "2019-04-24T23:34:44Z")

</div>

**Here** just means the current folder. **Below** means current folder and its subfolders. I had never used Everything to search for content but having now tried it on a PDF it appears to be a bit of a lottery. My test PDF includes the following text. If I search for **content:Statement** it matches but if I search for **content:Electronic** it doesn't. I think you would be better served asking about how to use **content:** on the [Everything support forum](https://www.voidtools.com/forum/viewforum.php?f=5).

![image](https://resource.dopus.com/uploads/default/original/3X/4/f/4f8714d7e2e4534ecefba5dc2b5b58cff877fa3c.png)

---

<div class="post-metadata">

**Author:** ![merdam](https://resource.dopus.com/letter_avatar_proxy/v4/letter/m/3d9bf3/32.png) [@merdam](https://resource.dopus.com/u/merdam)\
**Post date:** [June 24, 2019, 7:12am UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/19 "2019-06-24T07:12:46Z")

</div>

es.exe is missing from my installation of Everything, what is it used for?

---

<div class="post-metadata">

**Author:** ![StephB](https://resource.dopus.com/letter_avatar_proxy/v4/letter/s/fbc32d/32.png) [@StephB](https://resource.dopus.com/u/StephB)\
**Post date:** [June 24, 2019, 9:31am UTC](https://resource.dopus.com/t/fast-search-with-everything-v2/31470/20 "2019-06-24T09:31:36Z")

</div>

[https://www.voidtools.com/downloads/](https://www.voidtools.com/downloads/)

## Download Everything Command-line Interface

[**ES-1.1.0.12.zip**](https://www.voidtools.com/ES-1.1.0.12.zip) 74 KB

[Next page](https://resource.dopus.com/t/fast-search-with-everything-v2/31470.md?page=2)
