It can be either depending on your needs.
https://learn.microsoft.com/en-us/windows/win32/lwef/-search-2x-wds-aqsreference
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
"AND"/"&"/"OR"/"|", please excuse my ignorance; I'm not sure if they're called operands, boolean operators, conditions, switches or something else.
I set up one of my servers (Windows Server 2019) as a temporary always-on desktop client to attempt to recover some lost files, tons of duplicates have been generating thus I need to do some pretty specific searches. Is this supported in the post-Windows10/Server2016 era? The last Windows desktop I used was I believe Windows 7 so I don't remember if it ever did.
I do remember indexing had to be setup but this is on and remotely indexed SMB3 file share so it's all set on that part.
If it's supported, how would it be spelled in conjunction with wildcards, for instance:
Should I expect the example above to work or am I missing quoting/escaping??
Also, how can I negate things? I see there are now categories, if I wanted to search things that aren't folders (instead of something like *
, *.*
) a positive match query is (as offered by the system) kind:=folder
, so for a negative match is it !kind:=folder
or kind:!folder
or kind:=!folder
or kind:!=folder
? Am I even close?
For once I was looking forward to fix it in PowerShell, trying several variations Get-ChildItem -Path .\*.m4a,.\*.m4a -Exclude *'#recycle* -Recurse | Move-Item -Destination .\startover
but some software made directories after every file apparently to store metadata and when it runs it fails because a file cannot overwrite a directory with a matching name, the scripting I came up with is not file-type-aware, only filename-aware. If you have any other advice I'm happy to hear it. :)
Thanks!
It can be either depending on your needs.
https://learn.microsoft.com/en-us/windows/win32/lwef/-search-2x-wds-aqsreference
--please don't forget to Accept as answer if the reply is helpful--
THANK YOU!
That oughta do it. I knew Windows was too geeky not to have this. You'll save probably days, there are thousands of files I need to go though. Thanks again!