Support Portal

for ProcessRobot and WinAutomation

Start a new topic
Answered

Recurse and parse file

hello,


 i try to parse, list and name all folder , subfolder  and file of drive

but there aren't recurse fonction on winautomation ?



Best Answer

Hello,


If your query is to iterate certain set of actions, use "loop" actions. 


If you are performing set of actions inside a folder, then use "Get files from folder" and then use "For Each" action to perform the task for all the files inside the folder. 


If there are subfolders that needs iteration, then use "Get Subfolders in Folder", and then use "For Each" action to perform task in each subfolder, then use "Get files from folder" to get the files from the subfolder, and finally use "For each" to perform iteration in each files in the subfolder.


If my understanding is wrong, then request to elaborate your requirement.

1 Comment

ADMIN
Answer

Hello,


If your query is to iterate certain set of actions, use "loop" actions. 


If you are performing set of actions inside a folder, then use "Get files from folder" and then use "For Each" action to perform the task for all the files inside the folder. 


If there are subfolders that needs iteration, then use "Get Subfolders in Folder", and then use "For Each" action to perform task in each subfolder, then use "Get files from folder" to get the files from the subfolder, and finally use "For each" to perform iteration in each files in the subfolder.


If my understanding is wrong, then request to elaborate your requirement.

Login or Signup to post a comment