ES - The command line interface for Everything

General discussion related to "Everything".
moderate
Posts: 6
Joined: Sat May 24, 2025 9:24 am

Re: ES - The command line interface for Everything

Post by moderate »

Hello,

could you please compile me:
-Command-line Interface ES (v1-1-0-27)

as:
-win32 arm64 (for Windows 11 and 10 arm64OS)
and:
-win32 arm32 (for unlocked Windows RT 8-1 and 8-0 arm32OS)
?

I can do all the testing if it is needed.
Thanks.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

ES-1.1.0.30.x64.zip
ES-1.1.0.30.x86.zip
ES-1.1.0.30.ARM64.zip
ES-1.1.0.30.ARM.zip
ES-1.1.0.30.src.zip
  • added new code signing certificate: voidtools PTY LTD
Added source code.
https://github.com/voidtools/es

Added ARM builds.
Thanks for testing.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

ES-1.1.0.31a.x64.zip
ES-1.1.0.31a.x86.zip
ES-1.1.0.31a.ARM64.zip
ES-1.1.0.31a.ARM.zip
ES-1.1.0.31a.src.zip
  • added Everything 1.5 IPC3/SDK3 support.
  • added support for all Everything 1.5 properties.
  • added Journal support.
  • added json export option.
  • added -header and -footer options.
  • added number formatting options.
  • added size formatting options.


ES can now query Everything 1.5 properties.


Code: Select all

es -instance 1.5a *.mp4 -add-columns size;length;width;height;name -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -header -footer


ES can now query your Everything Index Journal.

Journal options
-j, -journal [filename filter]
Show index journal changes.
Any journal option below also shows journal changes.
Wildcards are supported in the filename filter.
The whole final case-insensitive filename is matched.
Use a path separator to match full paths and names.
-get-journal-id
Return the current journal ID.
-get-journal-pos
Return the current journal ID and next change ID.
-action-filter <semicolon (;) delimited list of actions>
Show only changes with the specified actions:
folder-create;folder-delete;folder-rename;folder-move;folder-modify;
file-create;file-delete;file-rename;file-move;file-modify
-watch
Return when a match is found and display the journal position.

-from-journal-pos <journal-id> <change-id>
-from-journal-id <journal-id>
-from-change-id <change-id>
Show changes from the specified journal-id and change-id.
-from-date <date>
Show changes starting from the specified ISO-8601 date.
-from-yesterday
Show changes starting from the beginning of yesterday.
-from-today
Show changes starting from the beginning of today.
-from-now
Show changes starting from the current time.

-to-journal-pos <journal-id> <change-id>
-to-journal-id <journal-id>
-to-change-id <change-id>
Show changes until the specified journal-id and change-id (exclusive).
-to-date <date>
Show changes until the specified ISO-8601 date (exclusive).
-to-today
Show changes until the start of today (exclusive).
-to-tomorrow
Show changes until the start of tomorrow (exclusive).
-to-now
Show changes until the current time (exclusive).

-after-journal-pos <journal-id> <change-id>
Show changes after the specified journal-id and change-id.
-changed-today
Show changes from the start of today until the start of tomorrow.
Same as -from-today -to-tomorrow
-changed-yesterday
Show changes from the start of yesterday until the start of today.
Same as -from-yesterday -to-today



To export changes made today, call:
es -changed-today -export-csv out.csv

(runs until midnight)



To export changes made yesterday, call:
es -changed-yesterday -export-csv out.csv




To watch for a change to a specific file, call:
es -watch "myprog.exe"

(returns when myprog.exe changes)



The following columns are supported in the journal mode:
  • Journal ID
  • Change ID
  • Action
  • Date Changed
  • Source Date Changed
  • Parent Date Modified
  • Filename
  • New Parent Date Modified
  • New Filename
  • Size
  • Date Created
  • Date Modified
  • Date Accessed
  • Attributes


Journal options require Everything 1.5.0.1397a or later.



To view results as json, include the following in your es call:
-json


To export results to a json file, include the following in your es call:
-export-json out.json




To show a property header when displaying results, include the following in your es call:
-header


To show a footer with the number of items and total size, include the following in your es call:
-footer




es will now use your locale to format numbers.
To set the number grouping, include the following in your es call:
-locale-grouping <grouping>

where grouping can be one of the following:
  • 32
  • 3
  • 2
  • 0
For example:
es.exe -locale-grouping 3




es will now use your locale for the grouping separator.

To specify the grouping separator, include the following in your es call:
-locale-thousand <thousand-separator>


For example:
es.exe -locale-thousand ","




es will now use your locale for the decimal point character.

To specify the decimal point character, include the following in your es call:
-locale-decimal <decimal-point-character>


For example:
es.exe -locale-decimal "."




es will now use your locale for the leading zero.

To specify if numbers should use a leading zero, include the following in your es call:
-locale-lzero <1|0>


For example:
es.exe -locale-lzero 1




es will now use your locale for the negative number formatting.

To specify the negative number formatting, include the following in your es call:
-locale-negnumber <format>


Format can be one of the following values:
  • 0 Left parenthesis, number, right parenthesis. Example: (1.1)
  • 1 Negative sign, number. Example: -1.1 (default)
  • 2 Negative sign, space, number. Example: - 1.1
  • 3 Number, negative sign. Example: 1.1-
  • 4 Number, space, negative sign. Example: 1.1 -
For example:
es.exe -locale-negnumber 1




To format sizes as KB or auto size (Bytes, KB, MB etc... depending on size), include the following in your es call:
-size-format <format>


Where format can be one of the following values:
  • 0 = Auto (Bytes, KB, MB etc... depending on size)
  • 1 = Bytes
  • 2 = KB
  • 3 = MB


es can now have separate date formats for display and exporting.

To set the export date format, include the following in your es call:
-export-date-format <format>


Where format can be one of the following values:
  • 0 = (Use default)
  • 1 = ISO-8601
  • 2 = FILETIME
  • 3 = ISO-8601 in UTC
For example, to set the export date format to ISO-8601, include the following in your es call:
-export-date-format 1




-sort <property>, -sort-<property> will now support all Everything properties.

For example, to sort by length, include the following in your es call:
-sort length




Any Everything 1.5 property can now be shown with -<property>

For example, to show the length, width and height column, include the following in your es call:
-width -height -length


The following syntax is also supported:
-add-columns width;height;length


The Everything syntax is also supported:
add-columns:width;height;length




Colors can now be set for any Everything 1.5 column.

For example, to set the length column to pink text on a dark pink background, include the following in your es call:
-length-color 0x5d


The following syntax is also supported:
-add-column-colors length=0x5d;width=0x4c;height=0x3a




Column widths can now be set for any Everything 1.5 column.

For example, to set the length column width to 5 characters, include the following in your es call:
-add-column-widths length=5




es will now use ipc3 by default.
If ipc3 is not available, es will fallback to ipc2.
If ipc2 support is not available, es will fallback to ipc1.

To disable ipc3 support, include the following in your es call:
-no-ipc3


ipc3 is Everything 1.5.
ipc2 is Everything 1.4.
ipc1 is Everything 1.3.



To list all available properties, call es with:
es -list-properties




es will now add a trailing path separator to folders when exporting.

To disable the trailing path separator, include the following in your es call:
-no-folder-append-path-separator




es can now interpret the rest of the command line as literal with
-q*
or
-search*
or
-s*




--
can now be used to disable switch parsing.
Double quotes are still processed.



es will now accept -switch=value syntax.
For example:
-instance=1.5a




es will now shrink columns after an overflow.
This will help keep columns aligned.



-<property>-width was accidentally removed. (eg: -size-width 9)
It will be re-added in the next update.



Added Windows Property system properties support.
For example:
es.exe c:\windows\* -system.size




Everything 1.5.0.1397a adds an option to allow IPC more access to unindexed information and formulas.

To allow ES to use formulas:
  • From the Start menu, search for:
    regedit
  • Right click Registry Editor and click Run as administrator.
  • In the Registry Editor, navigate to:
    HKLM\Software\Policies\voidtools\Everything

    (Please create this key if it doesn't exist)
  • In the right pane, right click and click New -> dword value.
  • Set the value name to:
    ipc_allow_read_access
  • Set the value data to:
    1
  • Restart Everything (File -> Exit)


Settings are now stored in %APPDATA%\voidtools\es\es.ini
brandySnake
Posts: 33
Joined: Fri Sep 24, 2021 3:00 pm

Re: ES - The command line interface for Everything

Post by brandySnake »

Thanks for updating the es.exe.

I tested the behavior of the new `-json` option.
I checked the results and it seems that the output is separated by a line break for each record.

Is this intentional?
Is this an attempt to get around some kind of limitation on CLI output?
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

Is this intentional?
Yes.
It makes it easier to read.
The output should still be valid json.


Is this an attempt to get around some kind of limitation on CLI output?
There's no limitation.
Are you have trouble parsing the output?
-Do I need add a -no-newline option?

edit: you can do this already, create an es.ini in the same location as your es.exe
Set your es.ini to:

Code: Select all

[ES]
newline_type=3
edit: [es] => [ES]
brandySnake
Posts: 33
Joined: Fri Sep 24, 2021 3:00 pm

Re: ES - The command line interface for Everything

Post by brandySnake »

Thank you for your reply.
I see. It's a display trick.

Also, the es.ini you suggested (2 lines) didn't work for some reason.
Furthermore, in this version (ES-1.1.0.31a), it seems that specifying -date-format or -size-format doesn't work when -json is specified.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

Thanks for the feedback brandySnake,
Also, the es.ini you suggested (2 lines) didn't work for some reason.
Please try the following es.ini instead:

Code: Select all

[ES]
newline_type=3
[es] => [ES]
The next es update will support both [es] and [ES] sections.


Furthermore, in this version (ES-1.1.0.31a), it seems that specifying -date-format or -size-format doesn't work when -json is specified.
I will simplify -date-format in the next es update.

For now, please try -export-date-format when using -json
brandySnake
Posts: 33
Joined: Fri Sep 24, 2021 3:00 pm

Re: ES - The command line interface for Everything

Post by brandySnake »

[es] => [ES]
It worked!
For now, please try -export-date-format when using -json
This also worked! Thanks!

Also, I'm not sure if you're already aware of this or if it was intentional, but there seem to be some other behavioral differences depending on whether or not the -json option is specified.
For example, if -json is not specified, no trailing separator is added even if you don't specify -no-folder-append-path-separator (maintaining behavior equivalent to the previous version).
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

Like Everything, ES will now add a trailing backslash to folders when outputting with an export format. (such as json)

The basic display output will not append a trailing backslash by default.

To set the default:
Add the following line to the end of your es.ini:

Code: Select all

folder_append_path_separator=x
where x can be one of the following:
  • -1 = disabled.
  • 0 = use default.
  • 1 = enabled.
brandySnake
Posts: 33
Joined: Fri Sep 24, 2021 3:00 pm

Re: ES - The command line interface for Everything

Post by brandySnake »

Like Everything, ES will now add a trailing backslash to folders when outputting with an export format. (such as json)
I see. So JSON is treated as an export format.
thanks!
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

ES-1.1.0.32a.x64.zip
ES-1.1.0.32a.x86.zip
ES-1.1.0.32a.ARM64.zip
ES-1.1.0.32a.ARM.zip
ES-1.1.0.32a.src.zip
  • fixed an issue with a lowercase [es] section not working in es.ini
  • fixed an issue with background colors carrying over to the next line.
  • fixed an issue with -<property-name>-width not working.
  • fixed an issue with -pause when there is no results.
  • improved -date-format and removed -export-date-format
  • added -no-new-line switch
brandySnake
Posts: 33
Joined: Fri Sep 24, 2021 3:00 pm

Re: ES - The command line interface for Everything

Post by brandySnake »

thank you as always.

I'm using a custom name (e.g., "MyTags") set to custom_property_0.
In both of the following commands, the field name in the output is custom_property_0.
Shouldn't the field name in the latter output be "MyTags"?
es -instance 1.5a -header -add-columns custom_property_0 -- query_word
es -instance 1.5a -header -add-columns MyTags -- query_word
Note: The result is the same even if you replace -header with -json.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

ES is unaware of the custom_property_0 name.
I have put on my TODO list: request the correct display name for custom_property_0..custom_property_9

For now, ES will use custom_property_0
For export formats, ES will always use custom_property_0.
brandySnake
Posts: 33
Joined: Fri Sep 24, 2021 3:00 pm

Re: ES - The command line interface for Everything

Post by brandySnake »

void wrote: Fri Sep 12, 2025 10:03 pm ES is unaware of the custom_property_0 name.
I have put on my TODO list: request the correct display name for custom_property_0..custom_property_9
Thank you for confirming the behavior and adding this to my to-do list.
I'm looking forward to the es.exe update.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

ES-1.1.0.33.x64.zip
ES-1.1.0.33.x86.zip
ES-1.1.0.33.ARM64.zip
ES-1.1.0.33.ARM.zip
ES-1.1.0.33.src.zip
  • cleaned up /a dir style commands, had P for sparse, which no longer exists.
  • show help when there's no arguments, no export type and output to console. -added -no-help-on-no-args option.
  • run count 0xffffffff is a valid value and should be displayed.
  • fixed an issue with DIR /ah style attributes.
  • fixed a long timeout delay when using Everything 1.4.
  • fixed an issue with -timeout not waiting for the db to load.
  • ES will now use the localized property name for custom property 0..9 when printing to the console.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

Suggestion : SHA1 and SHA256 :

See picture for more details.

https://imgtu.com/upload/t6l9tvb3/file_4a47a0
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

Everything is running.

B:\>es -instance 1.5a *.mp4 -add-columns size;length;width;height;name -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -header -footer
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -instance 1.5.0.1399a *.mp4 -add-columns size;length;width;height;name -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -header -footer
Error 8: Everything IPC not found. Please make sure Everything is running.
horst.epp
Posts: 1595
Joined: Fri Apr 04, 2014 3:24 pm

Re: ES - The command line interface for Everything

Post by horst.epp »

happy666 wrote: Wed Oct 08, 2025 2:08 pm Everything is running.

B:\>es -instance 1.5a *.mp4 -add-columns size;length;width;height;name -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -header -footer
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -instance 1.5.0.1399a *.mp4 -add-columns size;length;width;height;name -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -header -footer
Error 8: Everything IPC not found. Please make sure Everything is running.
Possible errors:
1. You have set the Alpha instance to false in your Everything 1.5 config.
2. You have installed the Lite version of Everything, which doesn't support any IPC communication.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

To horst.epp:

>1. You have set the Alpha instance to false in your Everything 1.5 config.

Yes,you are right.
I set alpha_instace=true
It works.

I set alpha_instace=false
It does NOT work.
Why ?
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

Everything show Aspect Ratio 16:9 on Video file.
ES show Aspect Ratio 1.777 on Video file.

It is more better to show 16:9.
therube
Posts: 5500
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES - The command line interface for Everything

Post by therube »

@happy666

re: picture

Do you have an ES.ini file (is that a thing?)?
Your output is not default.

Code: Select all

C:\out\recylererer\X>es.exe %cd% *.bat -crc32 -sha1
79987044 F1364D0C50441249E2EFD2DA005F03DAEE94ACF9 C:\out\recylererer\X\getts.bat
5AEAC4B5 D3E4FF1DF436B8DE1AABAD9DD585E7CDFB446E77 C:\out\recylererer\X\done\getURL.bat
C63E58D5 4D8F9AD4ECB3064B955B0614C5E0ABC8FB8FB067 C:\out\recylererer\X\hashvideo - Copy - Copy.BAT
2EB4035C 2576EF01764B7A03963A16FBDAF0397FB440A019 C:\out\recylererer\X\hashvideo - Copy.BAT
AF63B029 F86D755CF2BFCB7C05A08EABA58DBDCA1FEE54AD C:\out\recylererer\X\hashvideo.BAT
-

Instances.
Instances need not necessarily be named "1.5a".
Help | Troubleshooting
will show you the Instance: name being used (as may the GUI itself).

alpha_instace is not 'true', 'false', rather 1 or 0.

More, Replacing my Everything 1.4 installation with the test version?

-

16:9 vs. 1.777

I'll suspect that the colon (:) is an "awkward" character when dealing with command-line?
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

To therube :

>16:9 vs. 1.777
>I'll suspect that the colon (:) is an "awkward" character when dealing with command-line?

No.

C:\>echo 16:9
16:9

>Do you have an ES.ini file (is that a thing?)?
>Your output is not default.

Yes,i have the ES.ini

I checked ES.ini
[ES]
columns=9,7,11,0

I change columns=9,7,11,6 and OK.

How can i get detail information about ES.ini ?
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

I have put on my TODO list to add 16:9 aspect ratio formatting like Everything.
Thank you for the suggestion.

Most es.ini settings are documented here:
https://github.com/voidtools/ES/blob/0e0a714a010e1f490fd870055bd78a1c8d8a2fc2/src/es.c#L288

In ES-1.1.0.31a and later you can use the following es.ini column syntax:

Code: Select all

columns=date-modified;size;attributes;extension
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

To void:

>I have put on my TODO list to add 16:9 aspect ratio formatting like Everything.
Thank you.

Command :
es --clear-settings
es --save-settings

It will get a DEFAULT es.ini

[ES]
...
instance=
...
columns=
column_colors=
column_widths=

No any detail information.
I suggest to add document for those items.

>columns=date-modified;size;attributes;extension

I change columns=9,7,11,6 and OK.

I try to change extension
columns=9,7,11,0
columns=9,7,11,1
columns=9,7,11,2
columns=9,7,11,3
columns=9,7,11,4
columns=9,7,11,5
columns=9,7,11,6
columns=9,7,11,7
columns=9,7,11,8
columns=9,7,11,9

The extension has more options ?
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

es --clear-settings
es --save-settings

It will get a DEFAULT es.ini
This is expected.
--clear-settings will clear your settings.

instance=
...
columns=
column_colors=
column_widths=

No any detail information.
I suggest to add document for those items.
An easy way to set these values is to use the corresponding switch to set the value.

For example:
es -instance "1.5a" -save-settings

This will store
instance=1.5a
in your es.ini.

For example:
es -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -save-settings

This will store
column_colors=Size=76;Width=42;Height=59;Length=25
in your es.ini.

I am not expecting users to edit their es.ini directly.
However, I will consider adding some documentation.


The extension has more options ?
I am not sure what you mean.
Does columns have more options? -Yes, you can specify any property name. eg: columns=9,7,11,sha256
There's only one extension property.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

I know Export Options,but it is not good.
I suggest add -export-stdout <out.txt>

ES.INI
highlight=1

B:\123>es -path .
2025/10/10 12:38:50 979 A txt B:\123\1.txt
2025/01/15 16:26:00 7,621,504 A exe B:\123\1111111111111111.exe
2025/01/23 15:35:03 4,286 A ico B:\123\22222222222222222222222.ico
2023/09/05 09:03:26 749,154 A db B:\123\3333333333333333333333333333333.db

B:\123>es -path . >Test.txt
B:\123>type Test.txt
2025/10/10 12:38:50 979 A txt *B:\123\*1.t
2025/01/15 16:26:00 7,621,504 A exe *B:\123\*1111111111111111.e
2025/01/23 15:35:03 4,286 A ico *B:\123\*22222222222222222222222.i
2023/09/05 09:03:26 749,154 A db *B:\123\*3333333333333333333333333333333.

File Name:
1.txt --> 1.t
1111111111111111.exe --> 1111111111111111.e
22222222222222222222222.ico --> 22222222222222222222222.i
3333333333333333333333333333333.db --> 3333333333333333333333333333333.

I hope get Test.txt the same as "es -path ." command.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

Windows 11 23H2 Login Administrator
Everything 1.5.0.1399a
es -version 1.1.0.33
SHA256 ES.exe Everything.exe
2025/09/26 15:20:20 199,848 A exe E43A58EAA671D33CE6A86111EA0632BDE331586FDEA0F66BCA3EADA39E2495C7 ES.exe
2025/09/08 14:17:50 4,873,896 A exe CDB4598DA1CBDE80A69FE2DB35AB1EF891BCEC219BB2CDB456449B4C6C4F13FA Everything.exe

Everything is running.
Menu --> Help --> Troubleshooting Information --> Instance: 1.5a
Menu --> Tools --> Options --> Advanced --> alpha_instance --> true

B:\>es -instance 1.5a *.mp4 -add-columns size;length;width;height;name -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -header -footer
Error 8: Everything IPC not found. Please make sure Everything is running.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

Thanks for testing ES happy666,
I know Export Options,but it is not good.
I suggest add -export-stdout <out.txt>
Please try:

es -export-txt out.txt



1.txt --> 1.t
Good catch.
This is a bug when highlighting and redirecting output to a file.
I will post a fix soon.


Error 8: Everything IPC not found. Please make sure Everything is running.
I'm not sure what's happening here.
I am unable to reproduce the issue my end.
Does the following call work:
es -instance 1.5a -get-everything-version


Please try restarting Everything (if you have made any changes to advanced settings)
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

To void:

>es -export-txt out.txt

I have try ALL file formats,but i do NOT like.
I like StdOut > out.txt

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

>Good catch.
>This is a bug when highlighting and redirecting output to a file.
>I will post a fix soon.

If you can remove "*" chars is more better.

>es -instance 1.5a -get-everything-version

B:\123>es -instance 1.5a -get-everything-version
Error 8: Everything IPC not found. Please make sure Everything is running.

>Please try restarting Everything (if you have made any changes to advanced settings)

Yes,i always restarting Everything.

By the way,
I posted "by happy666 » Wed Oct 08, 2025 10:53 pm", ES can run.
I do not know what happening.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

I have try ALL file formats,but i do NOT like.
That's fine.
All export options disable formatting.

Use
es > out.txt



If you can remove "*" chars is more better.
Yes, the highlighting character * will be removed.


Error 8: Everything IPC not found. Please make sure Everything is running.
Very odd, could you please send your Everything -> Help -> Troubleshooting information in a bug report
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

To void:

>Yes, the highlighting character * will be removed.

Thank you.

>Very odd, could you please send your Everything -> Help -> Troubleshooting information in a bug report

I have sent.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

Thank you for the troubleshooting information.

Your Everything 1.5 settings worked my end with
es -instance 1.5a


I see you are running Everything as administrator.
es should still work.
However, please try es from an admin console to see if there's a communication issue.



Could you please send your es.ini in a bug report
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

void wrote: Fri Oct 10, 2025 8:37 am I see you are running Everything as administrator.
es should still work.
However, please try es from an admin console to see if there's a communication issue.

Could you please send your es.ini in a bug report
I login in administrator,so it always administrator.

I have sent.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

Very odd, Now,

B:\123>es -instance "1.5a" -get-everything-version
1.5.0.1399

B:\123>es -path . -sha256
Error 8: Everything IPC not found. Please make sure Everything is running.

Very odd
1.
OK : es -instance "1.5a" -get-everything-version
NG : es -path . -sha256

2.
NG : es -instance "1.5a" -get-everything-version
OK : es -path . -sha256

3.
Why ES can NOT ALL OK ?
OK : es -instance "1.5a" -get-everything-version
OK : es -path . -sha256

Everything GUI : Stable.
ES CUI : Unstable.

By the way,
Suggestion:
If Everything process EXIST,
"es -instance 1.5a -get-everything-version" short to "es -get-everything-version".
therube
Posts: 5500
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES - The command line interface for Everything

Post by therube »

ES.INI
highlight=1
Surprised that with highlight=1, that redirection, >, does not automatically turn off highlight (such that you don't get the *'s).
(Not too clear in discussion above, but I gather that will happen in future version.)

If Everything process EXIST,
"es -instance 1.5a -get-everything-version" short to "es -get-everything-version"
I thought you had
instance=1.5a
in ES.ini, in which case you need not (necessarily) use
-instance 1.5a
on the command line?

NG :
On chance that running As Admin is playing in, are you able to set up a standard user account & test in there - without Everything running "as admin"?

Might something ? (antivirus or who knows what) be (intermittently) interfering with ES (talking to Everything)?
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

therube wrote: Fri Oct 10, 2025 7:10 pm Surprised that with highlight=1, that redirection, >, does not automatically turn off highlight (such that you don't get the *'s).
(Not too clear in discussion above, but I gather that will happen in future version.)
void said:

the highlighting character * will be removed.
This is a bug when highlighting and redirecting output to a file.
I will post a fix soon

therube wrote: Fri Oct 10, 2025 7:10 pm I thought you had
instance=1.5a
in ES.ini, in which case you need not (necessarily) use
-instance 1.5a
on the command line?
No.

[ES]
instance=

I mean ES automatic detect Everything process exist.

therube wrote: Fri Oct 10, 2025 7:10 pm On chance that running As Admin is playing in, are you able to set up a standard user account & test in there - without Everything running "as admin"?

Might something ? (antivirus or who knows what) be (intermittently) interfering with ES (talking to Everything)?
I login in administrator,so it always administrator.

I put my all tools in K:\DOS and antivirus except "ALL Files and ALL Directorys" in K:\DOS.
therube
Posts: 5500
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES - The command line interface for Everything

Post by therube »

FWIW, my SS.BAT (which searches the current directory tree).

Code: Select all

:: SS.BAT SjB 02-25-2024 .. 2001
:: Search Current Directory

@echo off

:: check for K: drive, a non-indexed (to Everything) drive

for %%i in (%cd%) do set VOLUME=%%~di
if %VOLUME%==K: (goto searchK:)
:: 01-21-2025, eh i have more then "just" K-drive ;-)
if %VOLUME%==O: (goto searchK:)
if %VOLUME%==P: (goto searchK:)


:: check for Everything not running [or if in Sandboxie] (in which case ES would not find anything, Error 8 or 9)

es.ex2 SS.BAT -instance 15 -no-result-error > nul
if %errorlevel% NEQ 0 goto searchK


:: (if NOT K:, AND, Everything is runningm then) search CWD using Everything Search

es.ex2 -pause -sort name -highlight -path . %1 %2 %3 -instance 15
goto end:



:: search K: drive, using DIR

:searchK
@cmd /c @dir /a /b /p /o:n /s *%1* %2 %3

:end



:: \bin\old\SS_old.bat *%1*
Note on the line,
if %errorlevel% NEQ 0 goto searchK
, I omitted the colon (:), searchK: - yet, it still works.
(Oh, & on end, my -instance is "15", not "1.5a".)
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

therube wrote: Fri Oct 10, 2025 7:45 pm FWIW, my SS.BAT (which searches the current directory tree).

Code: Select all

:: SS.BAT SjB 02-25-2024 .. 2001
:: Search Current Directory

@echo off

:: check for K: drive, a non-indexed (to Everything) drive

for %%i in (%cd%) do set VOLUME=%%~di
if %VOLUME%==K: (goto searchK:)
:: 01-21-2025, eh i have more then "just" K-drive ;-)
if %VOLUME%==O: (goto searchK:)
if %VOLUME%==P: (goto searchK:)


:: check for Everything not running [or if in Sandboxie] (in which case ES would not find anything, Error 8 or 9)

es.ex2 SS.BAT -instance 15 -no-result-error > nul
if %errorlevel% NEQ 0 goto searchK


:: (if NOT K:, AND, Everything is runningm then) search CWD using Everything Search

es.ex2 -pause -sort name -highlight -path . %1 %2 %3 -instance 15
goto end:



:: search K: drive, using DIR

:searchK
@cmd /c @dir /a /b /p /o:n /s *%1* %2 %3

:end



:: \bin\old\SS_old.bat *%1*
Note on the line,
if %errorlevel% NEQ 0 goto searchK
, I omitted the colon (:), searchK: - yet, it still works.
(Oh, & on end, my -instance is "15", not "1.5a".)
My question is :
Everything GUI : Stable.
ES CUI : Unstable.

See my post " by happy666 » Fri Oct 10, 2025 5:06 pm".
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

ES-1.1.0.34.x64.zip
ES-1.1.0.34.x86.zip
ES-1.1.0.34.ARM64.zip
ES-1.1.0.34.ARM.zip
ES-1.1.0.34.src.zip
  • fixed an issue with output being truncated when highlighting and redirecting output to a file.
  • improved connecting to the ipc3 pipe server when it is busy.
  • added aspect ratio formatting like Everything. -added -aspect-ratio-format
  • added a debug mode. -debug
  • reverted show help when there's no arguments.

ES CUI : Unstable.
I suspect the Everything pipe server is getting hammered.
Check the debug console in Everything 1.5 (Tools -> Debug -> Console)
See if the issue persists with ES 1.1.0.34.
-If the issue does persist, please try ES in debug mode with
es -instance 1.5 -debug
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

void wrote: Sat Oct 11, 2025 2:05 am fixed an issue with output being truncated when highlighting and redirecting output to a file.
OK.
void wrote: Sat Oct 11, 2025 2:05 am added aspect ratio formatting like Everything. -added -aspect-ratio-format
1920 1080 16:9
1280 720 16:9

OK : Everything show 16:9
OK : ES show 16:9

1920 804 2.388:1

OK : Everything show 2.388:1
NG : ES show 2.388
void wrote: Sat Oct 11, 2025 2:05 am improved connecting to the ipc3 pipe server when it is busy.
added a debug mode. -debug

I suspect the Everything pipe server is getting hammered.
Check the debug console in Everything 1.5 (Tools -> Debug -> Console)
See if the issue persists with ES 1.1.0.34.
-If the issue does persist, please try ES in debug mode with
es -instance 1.5 -debug
NG.

B:\>es -path . *.*
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -instance 1.5 -debug
FindWindow failed 3
Connect pipe \\.\PIPE\Everything IPC (1.5) CreateFile failed 2
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -version
1.1.0.34

B:\>es -instance 1.5a -get-everything-version
1.5.0.1399

B:\>es -instance 1.5a -path . *.mp4 -add-columns size;length;width;height;name -column-colors size=0x4c;length=0x19;width=0x2a;height=0x3b -header -footer
It works.

I have sent detail files to Bug Report.
Everything Debug Console
es -instance 1.5 -debug
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

I set alpha_instace=true

B:\>es -instance 1.5a -debug
It works.

B:\>es -instance 1.5a -get-everything-version
1.5.0.1399

B:\>es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer
It works.

B:\>es -path . *.*
Error 8: Everything IPC not found. Please make sure Everything is running.

-----------------------------------------------------------------------------

I set alpha_instace=false

B:\>es -instance 1.5a -debug
FindWindow failed 3
Connect pipe \\.\PIPE\Everything IPC (1.5) CreateFile failed 2
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -instance 1.5a -get-everything-version
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -path . *.*
It works.

-----------------------------------------------------------------------------

Is this normal ?

By the way,

Run Everything and set alpha_instance=true
Exit Everything
Run Everything
Run ES for some commands.

Run Everything and set alpha_instance=false
Exit Everything
Run Everything
Run ES for some commands.

No any good solution ?
Last edited by happy666 on Sat Oct 11, 2025 6:33 am, edited 2 times in total.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

Thanks for testing 1.1.0.34 and for the debug info happy666,
NG : ES show 2.388
I completely forgot the :1 suffix when there's no nice aspect ratio.
This will be fixed in the next update.


I set alpha_instace=true

B:\>es -instance 1.5 -debug
FindWindow failed 3
Connect pipe \\.\PIPE\Everything IPC (1.5) CreateFile failed 2
Error 8: Everything IPC not found. Please make sure Everything is running.
Please make sure you use
-instance 1.5a

Don't forget the
a
in
1.5a


Do you still see failed connections? -please try running the same ES command over and over.
If some ES instances don't connect, please check the task manager for any handle leaks:
In the Task Manager, click the details tab.
From the View menu, click Select columns.
Check Handles, threads, user objects and GDI objects.
Click OK.
Please try sorting by these columns and check if there's any processes using more than 5000 handles, 500 threads, 5000 user objects, 5000 GDI objects.



From your Everything log, I don't see any IPC requests.
-They will start with
IPC
and be in Magenta color.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

void wrote: Sat Oct 11, 2025 6:03 am I completely forgot the :1 suffix when there's no nice aspect ratio.
This will be fixed in the next update.
Thank you.
void wrote: Sat Oct 11, 2025 6:03 am Please make sure you use
-instance 1.5a

Don't forget the
a
in
1.5a
I set alpha_instace=true

B:\>es -instance 1.5a -debug
It works.
void wrote: Sat Oct 11, 2025 6:03 am Do you still see failed connections? -please try running the same ES command over and over.
If some ES instances don't connect, please check the task manager for any handle leaks:
In the Task Manager, click the details tab.
From the View menu, click Select columns.
Check Handles, threads, user objects and GDI objects.
Click OK.
Please try sorting by these columns and check if there's any processes using more than 5000 handles, 500 threads, 5000 user objects, 5000 GDI objects.
Task Manager for Everything:

Handles=539, threads=8, user objects=28, GDI objects=75.

--------------------------------------------------

I have one question about ES without "-instance 1.5a" argument.

Everything set alpha_instace=true

B:\>es -path . *.*
Error 8: Everything IPC not found. Please make sure Everything is running.

Why can NOT work ?
ES just read(access) Everything-1.5a.db ONLY.
ES does NOT need to read(access) Everything property.
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

The alpha instance just exists so you can run Everything 1.4 and Everything 1.5a side by side, while Everything 1.5 is in alpha.
Once Everything 1.5 is in beta the alpha instance will be removed.

If you don't have Everything 1.4 installed, just disable the alpha_instance
Tools -> Options -> Advanced -> alpha_instance=false
and forget about the -instance 1.5a argument.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

void wrote: Sat Oct 11, 2025 7:15 am The alpha instance just exists so you can run Everything 1.4 and Everything 1.5a side by side, while Everything 1.5 is in alpha.
Once Everything 1.5 is in beta the alpha instance will be removed.

If you don't have Everything 1.4 installed, just disable the alpha_instance
Tools -> Options -> Advanced -> alpha_instance=false
and forget about the -instance 1.5a argument.
I have Everything 1.4 but i have updated to 1.5

The KEY question is :
If alpha_instance=false

B:\>es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer
Error 8: Everything IPC not found. Please make sure Everything is running.

I need OFTEN to swith Everything setting
alpha_instance=false
alpha_instance=true

Run Everything and set alpha_instance=true
Exit Everything
Run Everything
Run ES for some commands.

Run Everything and set alpha_instance=false
Exit Everything
Run Everything
Run ES for some commands.

No any good solution ?
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

There can only be one instance of Everything. (this goes for Everything 1.4 and 1.5a)

alpha_instance=false will not work if you have Everything 1.4 installed.
You'll run into all sorts of conflicts.
Either Everything 1.4 will run or 1.5a will run, but never both at the same time.

If you disable the alpha_instance you don't need to specify
-instance 1.5a

If you call es without -instance 1.5a and with alpha_instance=false, es might talk to Everything 1.4 or Everything 1.5a -whatever is currently running.

So either:
A) uninstall Everything 1.4 and disable the alpha_instance.
-or-
B) keep alpha_instance enabled and use
es -instance 1.5a
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

I need OFTEN to swith Everything setting
Some of your columns and switches will only work with Everything 1.5a.
They will be ignored if es is talking to Everything 1.4.
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

void wrote: Sat Oct 11, 2025 7:30 am
Some of your columns and switches will only work with Everything 1.5a.
They will be ignored if es is talking to Everything 1.4.

There can only be one instance of Everything. (this goes for Everything 1.4 and 1.5a)

alpha_instance=false will not work if you have Everything 1.4 installed.
You'll run into all sorts of conflicts.
Either Everything 1.4 will run or 1.5a will run, but never both at the same time.

If you disable the alpha_instance you don't need to specify
-instance 1.5a

If you call es without -instance 1.5a and with alpha_instance=false, es might talk to Everything 1.4 or Everything 1.5a -whatever is currently running.

So either:
A) uninstall Everything 1.4 and disable the alpha_instance.
-or-
B) keep alpha_instance enabled and use
es -instance 1.5a
Now,i use Everything 1.5a ONLY.
No more use Everything 1.4.

alpha_instance=true

B:\>es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer
It works.

B:\>es -path . *.*
Error 8: Everything IPC not found. Please make sure Everything is running.

alpha_instance=false

B:\>es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer
Error 8: Everything IPC not found. Please make sure Everything is running.

B:\>es -path . *.*
It works.

Do you know what i mean ?

How can do TWO commands work ?

es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer

es -path . *.*
void
Developer
Posts: 19053
Joined: Fri Oct 16, 2009 11:31 pm

Re: ES - The command line interface for Everything

Post by void »

These are the expected results.
alpha_instance=true

B:\>es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer
It works.
Everything runs in the 1.5a instance.
ES connects to the 1.5a instance.
This will work.
B:\>es -path . *.*
Error 8: Everything IPC not found. Please make sure Everything is running.
Everything is running in the 1.5a instance
ES doesn't specify the instance name, ES connects to the unnamed instance.
This unnamed instance doesn't exist, you'll get error 8 as you see.


alpha_instance=false

B:\>es -instance 1.5a -path .\ *.mp4 -add-columns "size;width;height;Aspect Ratio;Frame Rate;length;Video Bit Rate;Video Format;Audio Format;Audio Bit Rate;name" -footer
Error 8: Everything IPC not found. Please make sure Everything is running.
Everything runs in the unnamed instance.
ES will try to connect the 1.5a instance.
The 1.5a instance doesn't exist, you'll get error 8 as you see.


B:\>es -path . *.*
It works.
Everything runs in the unnamed instance.
ES will try to connect the unnamed instance.
This will work.



Multiple Instances
happy666
Posts: 63
Joined: Tue Oct 07, 2025 10:35 pm

Re: ES - The command line interface for Everything

Post by happy666 »

To void:

Thank you for detail info.
It is usefull.
Last edited by happy666 on Sun Oct 26, 2025 3:44 pm, edited 2 times in total.
Post Reply