system
3
its maybe over the top for deleting a file thats probably in use but check out MBAM from MalwareByte. It has a tool build in for deleting files that are in use.
so locate any file in the directory that you try to delete and use MBAM on it…
i dont know the tool from doktornotor but that probably works the same