Command Line Interface

ES is a command line interface to search Everything from a command prompt.


ES can be downloaded from



  • Everything must be installed and running.


es.exe [options] [search text]


Optional option.


Required option.

General Command Line Options

These options will work with any version of Everything.


Search using regular expressions.


Match case.


Match whole words.


Match full path and file name.


Display this help.

-o <offset>
-offset <offset>

Show results starting from the zero based offset.

-n <num>
-max-results <num>

Limit the number of results shown to <num>.


Sort by full path.

Everything 1.4 Command Line Options

The following switches require Everything 1.4 or later.


Match diacritical marks.


Show the specified column. The full path and name column will be used if no name, path or full path and name column is specified.

Columns are displayed in the order specified.

-sort name
-sort path
-sort size
-sort extension
-sort date-created
-sort date-modified
-sort date-accessed
-sort attributes
-sort file-list-file-name
-sort run-count
-sort date-recently-changed
-sort date-run
-sort name-ascending
-sort name-descending
-sort path-ascending
-sort path-descending
-sort size-ascending
-sort size-descending
-sort extension-ascending
-sort extension-descending
-sort date-created-ascending
-sort date-created-descending
-sort date-modified-ascending
-sort date-modified-descending
-sort date-accessed-ascending
-sort date-accessed-descending
-sort attributes-ascending
-sort attributes-descending
-sort file-list-file-name-ascending
-sort file-list-file-name-descending
-sort run-count-ascending
-sort run-count-descending
-sort date-recently-changed-ascending
-sort date-recently-changed-descending
-sort date-run-ascending
-sort date-run-descending

Specify the sort. Results are sorting by name ascending if not specified.


Set sort order. For example, sort by size ascending: -sort size -sort-ascending

If the sort order is not specified: size is sorted largest first, dates latest first and run count largest first, All other sorts are sorted alphabetically.

-instance <name>

Connect to the unique Everything instance name.

See Multiple Instances for more information.


Highlight results.

Highlighting many results can decrease the performance of "Everything".

-highlight-color <color>

<color> can be one of the following color codes:

Highlight color 0x00-0xFF.

The default highlight color is 0x0a (light Green).


Change display format.

Use > to redirect to a file or | to pipe to another application.

See -export options below to also write to a file.

-export-csv <out.csv>
-export-efu <out.efu>
-export-txt <out.txt>
-export-m3u <out.m3u>
-export-m3u8 <out.m3u8>

Export to a file. No output is displayed on screen.

-size-format <format>

Format can be one of the following values:

Value Description
0 Auto
1 Bytes
2 KB
3 MB

Pause after each page of output.


Don't show any results when there is no search.


Show help when no search is specified.

-timeout <milliseconds>

Timeout after the specified number of milliseconds to wait for the Everything database to load before sending a query.

-filename-color <color>
-name-color <color>
-path-color <color>
-extension-color <color>
-size-color <color>
-date-created-color <color>
-dc-color <color>
-date-modified-color <color>
-dm-color <color>
-date-accessed-color <color>
-da-color <color>
-attributes-color <color>
-file-list-filename-color <color>
-run-count-color <color>
-date-run-color <color>
-date-recently-changed-color <color>
-rc-color <color>

<color> can be one of the following color codes:

Set the column color 0x00-0xFF.

-filename-width <width>
-name-width <width>
-path-width <width>
-extension-width <width>
-size-width <width>
-date-created-width <width>
-dc-width <width>
-date-modified-width <width>
-dm-width <width>
-date-accessed-width <width>
-da-width <width>
-attributes-width <width>
-file-list-filename-width <width>
-run-count-width <width>
-date-run-width <width>
-date-recently-changed-width <width>
-rc-width <width>

Set the column width 0-200.


Format the number with leading zeros, use with -no-digit-grouping.


Don't group numbers with commas.

-path <path>

Search for subfolders and files in path.

-parent-path <path>

Search for subfolders and files in the parent of path.

-parent <path>

Search for files with the specified parent path.


DIR style sorts.

sort must be one the following sorts:

Sort Description
N Name ascending.
-N Name descending.
S Size ascending.
-S Size descending.
E Extension ascending.
-E Extension descending.
D Date modified ascending.
-D Date modified descending.

Folders only.


Files only.


DIR style attributes search.

attributes can be any one or more of the following attributes:

Attribute Description
R Read only.
H Hidden.
S System.
D Directory.
A Archive.
V Device.
N Normal.
T Temporary.
P Sparse file.
L Reparse point.
C Compressed.
O Offline.
I Not content indexed.
E Encrypted.

To exclude an attribute prefix it with a -

For example, find files with no read-only attribute set: es.exe /a-r

The Directory attribute is determined by the result being a file or folder in Everything, not the file attribute. Search for attributes:d for the true directory attribute.

-set-run-count <filename> <count>

Set the run count for the specified filename. No search is performed.

-inc-run-count <filename>

Increment the run count for the specified filename by one. No search is performed.

-get-run-count <filename>

Display the run count for the specified filename. No search is performed.


Save or clear settings. No search is performed.

Settings are stored in the registry under HKEY_CURRENT_USER\Software\ES


ES does not have access to bookmarks or filters.


Export all mp3 files to an Everything file list named mp3.efu

es.exe *.mp3 -export-efu mp3.efu

Show the top 10 largest files:

es.exe -sort size -n 10

Show the last 10 modified files:

es.exe -sort dm -n 10

Highlight the search terms foo bar

es.exe foo bar -highlight

Make ES show the size column, date modified column and set some pretty colors and make them the default settings:

es.exe -size -dm -sizecolor 0x0d -dmcolor 0x0b -save-settings

Return Codes

ES can return one of the following errorlevel codes:

Errorlevel Description
0 No known error, search successful.
1 Failed to register window class.
2 Failed to create listening window.
3 Out of memory.
4 Expected an additional command line option with the specified switch.
5 Failed to create export output file.
6 Unknown switch.
7 Failed to send Everything IPC a query.
8 No Everything IPC window. Please make sure the Everything search client is running.


Dashes (-) inside switches can be omitted, for example, instead of using -no-digit-grouping, use: -nodigitgrouping

Switches can also start with a /

Use double quotes to escape spaces and switches.

Switches can be disabled by prefixing them with no-, eg: -no-size.

ES Source code is included with the download.

See also

© 2017 voidtools