If you are experiencing problems with "Everything", post here for assistance.
KERNEL59
Posts: 10 Joined: Wed Mar 23, 2016 1:28 pm
Post
by KERNEL59 » Thu Mar 20, 2025 3:03 pm
Hi ,
1.This line works very well for 1 line in my file "liste.txt" I have the result, can you give me the command line for several lines in "liste.txt" ?
& "C:\Program Files\Everything 1.5a\es.exe" -instance "1.5a" $(Get-Content "C:\Users\ENiGMA59\Documents\liste.txt") -export-txt "C:\Users\ENiGMA59\resultat.txt"
2.and just a 2nd thing, how to have in the result just the names of the folders and not the path of the folder ?
thanx in advance
NotNull
Posts: 5961 Joined: Wed May 24, 2017 9:22 pm
Post
by NotNull » Sat Mar 22, 2025 11:15 am
I can't think of a way to do this with one ES.exe call at the moment (brain fog ..), but letting ES search for each entry of your list individually would work (I think ...):
Code: Select all
Get-Content "C:\Users\ENiGMA59\Documents\liste.txt"| % { & "C:\Program Files\Everything 1.5a\es.exe" -instance "1.5a" $_ -name } ) | Out-file "C:\Users\ENiGMA59\Documents\liste_output.txt"