New to PAD, so I'm sorry if this is a stupid question, but...
I'm trying to create a flow that removes a specific piece of text from a file name for 1,200+ unique files in a folder.
I created:
(1) a flow that uses the 'Get files in folder' to pull all the files within the folder (with the path included) and create a variable (%Files%) with the full list of each file path as its own line #.
(2) a 'For each' loop that will go through each file in the folder, and within the loop:
(2a) a 'Get file path part' action from the first item in the %Files% list that pulls the file name (%FileName%)
(2b) a 'Rename file(s)' action with the file path and %FileName% that removes the text from the file name.
However, when I run the flow, it pulls the first file from the first path on the %Files% list and then errors out because it searches for the same file (that it has already renamed) on the second iteration of the loop. How do I get it to move to the next item/file path in the list for the %Files% variable?
Any ideas would be appreciated.