Hi currently i am using “for each” activity to open files from a folder all at the same time.
Now i need to open one file at a time save close, then open the next file from folder. is it possible anyway? any sample or solution would be a great help.
Try using the for each file in folder activity, that would help you to iterate through each file one at a time in a local folder. You can set filters also if you want to open only xlsx or pdf or docx files.
Also, this error is happening, as inside the For Each File in Folder activity, the variable “CurrentFile” is of type System.IO.FileInfo, while StartProcess accepts strings as input.
In order for this solution to work with a For Each File in Folder activity, you need to get the Full path as a string, with the following method: