Copy folder error

I’m encountering an issue while trying to copy the last month’s folder within a main folder that contains multiple folders for each month. I’ve utilized the Copy folder activity and specified the destination as the main folder. However, I’m receiving an error indicating that one of the files within the folder is currently in use. Interestingly, when I attempted the same operation with a different destination, it worked without any issues.

Could you please provide guidance on resolving this issue?

Thank you!

Hello @Konda_Sai_Charan_Goud

does your main code xml file is also placed in main folder as well? if yes then it will not copy the file. if no then try “Kill Process” Activity before “copy file” activity , in properties write process name as “Windows Explorer” or “Explorer”

Happy Automation
Tukdi. :slight_smile:

can you illustrate e.g. screenshots / folder structure samples?

ensure that the destination handler is not in conflict the source handler

Please find the attached Image. here the requirement is to copy the last month folder and paste in the same directory with the current month details.

when last month folder is outside of the F\… Path it should work and maybe on old orphaned handler is blocking.

Just investigate more in this direction. Feel free to share with us on how you had modeled the Folder copy part