Page 1 of 1

Search for only files/folders using the SDK

Posted: Tue Mar 05, 2019 5:02 pm
by c4359f66
Hello,
I am working on an application that uses the Everything SDK (C#) to search for files. What would be the easiest way to search for only the first 100 files or only the first 100 folders? Currently I mostly get files (instead of folders) when limiting the search to 100 results but I want to be able to display the first 100 folder results in another list.

Edit: I think I just got it... Is the easiest way to prepend "folders:"?

Re: Search for only files/folders using the SDK

Posted: Thu Mar 07, 2019 4:06 am
by void
If you don't need file results, include the following in your search:
folder: