Hi.
I don't quite understand how everything and the executable from the command line es.exe interact. If you access the help for es.exe, it says that the Everything commands work, but it doesn't seem to. I have this search generated by everything: dm:>=11/04/2023 ext:mp4 I:\Tutor\ | H:\Temp | M:\Temp01 | F:\Temp02\ -export-txt h:\files.txt, but it gives an error from the command line.
Thanks in advance
Complex search from command line.
Re: Complex search from command line.
Some of these characters have special meaning on the command- line, like > and |.
PowerShell and CMD each have their own sets of special characters and methods to handle them.
What were you using? And what was the error message you got?
You can also search the forum. Lots of examples how to handle this.
PowerShell and CMD each have their own sets of special characters and methods to handle them.
What were you using? And what was the error message you got?
You can also search the forum. Lots of examples how to handle this.
Re: Complex search from command line.
hi, NotNull.
The message I get is: "The system cannot find the path specified".
Can you give me an example to search only in two directories (more than one, since I don't know how to isolate or chain several directories in a search) and that it be in mp4 files from the last two days? I've searched the forum but there should be a section for es.exe as ideas get mixed up and I can't figure out how to do the search I need.
Sorry, I'm using CMD.
The message I get is: "The system cannot find the path specified".
Can you give me an example to search only in two directories (more than one, since I don't know how to isolate or chain several directories in a search) and that it be in mp4 files from the last two days? I've searched the forum but there should be a section for es.exe as ideas get mixed up and I can't figure out how to do the search I need.
Sorry, I'm using CMD.
Re: Complex search from command line.
Based on your original search:
(use a ^ to 'neutralize' (/escape) these special characters
P.S. you can also use
Date Constants
Code: Select all
es dm:^>=11/04/2023 ext:mp4 I:\Tutor\ ^| H:\Temp ^| M:\Temp01 ^| F:\Temp02\ -export-txt t:\files.txt
P.S. you can also use
dm:last2days
Date Constants
Re: Complex search from command line.
Perfect, NotNull, it works. Thanks a lot. Knowing that ^ is the escape symbol for special symbols, I now understand how to create searches.
Interesting about the constants the dates!!!
Interesting about the constants the dates!!!
Last edited by wetware05 on Thu Apr 13, 2023 7:18 pm, edited 1 time in total.