Basically we have a bot that will purge a folder and it's files/folders under it but if it can't access something it errors out. That is OK but would rather it continue on the loop and try to delete/remove the rest of the files instead of failing the whole bot at that moment.
Deleting folders and files but if it can't for some reason to continue on the loop
use try /catch put the delete command action in try and put the continue in catch
the will help you if delete command failed will continue the loop
check the screen shoot .easy sample to use
if it help you kindly make this as best answer
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.