Master tricks Win7 can not delete files

  
        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.

Let's special analog reproduction file can not be deleted situation. 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 pops up, prompting: the operation can not be completed, the folder or file is opened in another program.

then we can do this: Right-click the taskbar Windows7 select "Start Task Manager" command, click the "Performance" tab in the console window "Windows Task Manager" to open, and then click click The Resource Monitor button in this tab goes to 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, you can see the folder was deleted successfully. 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. Step

more than a little trouble, then how to achieve quick call to the Resource Monitor? In the list of processes can be seen in its process called perfmon.exe, but this is a performance monitor, which can not be found in Resource monitor. Later, considering the problem of command line parameters, a parameter /res was added. After testing, everything is normal, so create a shortcut to point to "C: WindowsSystem32perfmon.exe /res", use this shortcut to achieve fast calls.
Copyright © Windows knowledge All Rights Reserved