99% of the time it's explorer.exe that's preventing you from deleting it. To fix it open a command prompt (start-run-cmd) then open task manager while the command prompt is still open and close explorer.exe. Once explorer is closed you should be able to browse to the file you want with the command prompt and delete it. Then go back to task manager and restart explorer (file-run-explorer)