1 Like
Hi
welcome to uipath community
may i know what was the error you were getting
is the variable filelist is of type array of string
@dmann
what was the error you were getting??
Could you please show me full expression you are passing to filelist variable and show me screenshot of the error you are getting here.
There can be 2 problems:
- Incorrect type of variable
- Incorrect location (path) passed to GetFiles method
Hello @dmann, you are the man! haha
See the result:
Get files.xaml (5.2 KB)
try this pal:
directory.GetFiles("C:\Users" & environment.UserName & "\Documents\IDB_files")
Regards,
Don’t forget to like us
Happy Automation!