Directory.GetFiles

Hello,
I am wanting to go through each file in a folder. I use the select activity with a string name variable. When I try to assign an array of string for the directory, the GetFiles option is not available. Could someone help me and tell me what is missing? I am using Studio 2019.10.3. I have attached snippets of imported namespaces, and when I am trying to put the value in the assign activity.

directory

Thanks,
MeghanLgBNg.png)

GetFilesFromFolder.xaml (5.3 KB)

Try this…!

Thanks!

Thanks for the help! It gives me a message saying GetFiles is not part of String. I actually had to put System.IO.Directory.GetFiles(variable) in order to get the function.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.