I’m trying to execute a process that reads text from each file in a folder. When setting this up, I assign FolderName = the location of the folder and Files = “Directory.GetFiles(FolderName)”. Then I start a For Each with ForEach item in Files and I have ResultSplit = System.IO.File.ReadAllText(item.ToString).
The error I’m getting says: “Could not find file” and then lists a file position different from the one I have typed into the assign. The error appears to be throwing at the first assign block inside the body of the loop in which I try to read the text file.