Delete Activity is showing error while deleting the files from the folder

If you’re on Windows open a Run cmd and load resmon.exe. Swtich tab to ‘CPU’ and change option to ‘Associated Handlers’. In the search box type in the path of the file/folder that is in use…The result will show what applications/processes are using it…This helped me out when I was trying to delete my Temp folder for my project…Turned out I had a hidden instance of excel using the folder.