A ghost File appears? using Directory.GetFiles(Config("Input_Folder").ToString)

i use an assign activity to get an array of files
arr_File = Directory.GetFiles(Config(“Input_Folder”).ToString)

but if there isn’t any files in the folder it returns a file:
~mmy $x.docx
which doesn’t exist.
i am confused as to why this happens

Any suggestions?

Hi @Rowley101

Please check this post might help you.

Thanks
Latika

1 Like