ReadTextFile Question

Hi,
I am trying to read a file using ReadTextFile. The file name is “1. Under Amount.txt”
I am assigning FileName = “[star]Under[Star]Amount.txt”
Checking with FileExists giving me False eventhough the file exists. Please suggest. Thank you,

@A_Learner

Assign below expression to FileName variable and then check in File Exists activity.

     Directory.GetFiles("FolderPath","*Under*Amount*.txt")(0)

Thanks, @lakshman

1 Like

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