ES cli tool does not seem to work with "path-list:" function

Discussion related to "Everything" 1.5 Alpha.
Post Reply
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

ES cli tool does not seem to work with "path-list:" function

Post by Ralf_Reddings »

Code: Select all

ES path-list:"c:\my folder" 
ES "path-list:""c:\my folder"""
Either of the above lines, return nothing, while
path-list:"c:\my folder"
in the GUI it works fine.
ES
will only return some result if the path does not have any spaces, such as
ES path-list:"c:\MyFolder"
. Of course, I intend to use more than one path. Its just that paths with spaces are giving me issues.

I am on the latest beta
therube
Posts: 4977
Joined: Thu Sep 03, 2009 6:48 pm

Re: ES cli tool does not seem to work with "path-list:" function

Post by therube »

Enclose each fullpath part in quotes [if need be] (& separated by semicolon) [if more then one path is given].

es path-list:"c:\tmp\bru";"c:\out\m m"


So do you have a
c:\my folder
directory?
(I'm thinking your example should work.)


Is ES working with Everything 1.5a (rather then 1.4 which does not have path-list:)?
Do you have both 1.5a & 1.4 installed? If so, if the above is the case, then you'll need the -instance 1.5a in your search.
ES -instance 1.5a path-list:"c:\my folder"



(I'll note that path-list: does not accept forward slashes, /, as path separator.)
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: ES cli tool does not seem to work with "path-list:" function

Post by NotNull »

Results will depend on the shell that is being used.

This works in Command Prompt (CMD):

Code: Select all

ES.exe   path-list:"c:\program files";c:\windows
This works in PowerShell:

Code: Select all

ES.exe   'pathlist:"c:\program files";c:\windows'
(note the single quotes in 'pathlist:a;b' )
Ralf_Reddings
Posts: 120
Joined: Fri Mar 24, 2023 4:53 pm

Re: ES cli tool does not seem to work with "path-list:" function

Post by Ralf_Reddings »

Am on PowerShell and that did it!
Thanks you to both of you, you guys are so helpfull!
Post Reply