Next we can do this:
1. Right-Windows 7 taskbar-start Task Manager-performance-Resource Monitor
2. Click on the "CPU" tab in the console to navigate to the tab page
3. Enter "Test" in the search box to the right of "associated handle", where the system process associated with the test handle is automatically searched
4. You can see that the search process is cmd.exe (which confirms the scenario above). The IT knowledgebase is a reminder that the Cmd.exe process is calling the test folder, causing the failure to delete the folder. Right-click the process, and then select the end Process command to eject the warning dialog box and confirm that the Cmd.exe process can be completed. Finally, delete the test folder and you can see that the folder was successfully deleted.
Small Tips
Some time is really we open this to delete the file is not closed caused, we will be careful to send, if poisoned with anti-virus software to antivirus can.