I have four of the same files but with different data in each one and I want to move all of them at the same time to another file path. I am trying to create a While activity and the bot is having a hard time reading the numbers in parentheses shown in the image. Is there a way that I can get the bot to read numbers in the parentheses? I keep getting an error saying that couldn’t find the file Sales Tax1.
You could use the Directory.GetFiles() to generate an array of strings of all the files in your folder.
Use a ‘For each’ activitiy to iterate through the files
Could you try that and let me know if it worked?
could you show me what you mean? where do I put the Directory.GetFiles()
Please check my workflow
Iterate_Files_In_Folder.zip (62.0 KB)
If you have any questions please let me know.
I ask you to like my post and mark my answer a solution, it helps me.
How do I get the files from the “Download Folder” on the PC instead of the “Documents”
Change it here:
in the function Directory.GetFiles(“Files”) change it to the folder you want
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.