Easy to delete files in Windows 7

  
                  

Files cannot be deleted, and we often encounter such situations. This is because a "behind-the-scenes" process is calling the file, and only the end of the process can be deleted. So how do you locate the process? Usually, we need to use third-party tools such as "Ice Blade". However, using its "Resource Monitor" in Windows 7 is easy.

Below we simulate the reproduction of a file that cannot be deleted. Create a folder called test on the D drive, then run a command prompt (cmd) and locate the command path to the folder directory. At this point, we delete the test folder, you can see the dialog box shown in Figure 1, prompting: the operation can not be completed, the folder or file is opened in another program.

Computer Software and Hardware Application Network (http://www.45it.com.cn) tells everyone that we can do this: Right click on the Windows 7 taskbar and select the "Start Task Manager" command. Click the "Performance" tab in the open Windows Task Manager console window, then click the "Resource Monitor" button in the tab to enter the "Resource Monitor" console. Click the "CPU" tab in the console to navigate to the tab, then enter "test" in the search box to the right of "Associated Handles", and the system will automatically search for the system process associated with the test handle. Search for a while, as you can see the search process is cmd.exe (suppressed the above simulation). This shows that it is the cmd.exe process that is calling the test folder, which causes the deletion of the folder to fail. Right-click the process and select the End Process command to pop up a warning dialog box to confirm the cmd.exe process. Finally, delete the test folder and you can see that the folder was successfully deleted. Although the above is a simulated scene, it is exactly the same as the real scene. As long as you flexibly apply such problems, it will not bother you.


Copyright © Windows knowledge All Rights Reserved