Question

in automation anywhere a360 how to compare two folders

  • 24 December 2022
  • 1 reply
  • 118 views

Badge +2

I have an folder inside  that folder i have an two sub folders and inside those two sub folders i have 4 different folders each and i want to compare them with there name if there is a match in the folder name i want to enter them in the excel

 

 


1 reply

Userlevel 7
Badge +13

Hi @mohank06 ,

 

Based on your scenario, I guess you can easily do this by nested Loop→ Folder in a Folder and If commands.

Through the parent Loop, Bot will loop inside the main folder and within that you can use another loop to loop through the subfolders. Finally, you can mention the necessary condition for comparison using the If command.

 

Hope this will help.

Reply