Find specific files in a list

+1 vote

Hi everyone !

Today I use this to find my files:

var options = new RemoteSearchOptions("*.txt", false);
var items = client.Search(options);

but I'd like to find certain files that start with a string.

list of files:

XYZa123.txt
XYZ
b123.txt
ABCDa123.txt
ABCD
b123.txt
ABCD_c123.txt

In this list I would like to get only the files that start with ABCD.

How could I be doing this?

asked Sep 25, 2018 by ironside (370 points)

1 Answer

+1 vote

Have you tried using "ABCD."?

var options = new RemoteSearchOptions("ABCD*.*", false);
var items = client.Search(options);
answered Sep 25, 2018 by Limilabs support (230,760 points)
...