How does win7 delete files that can t be deleted?

Updated on technology 2024-03-23
2 answers
  1. Anonymous users2024-02-07

    It is not uncommon for files to be deleted. This is due to a "behind-the-scenes" process calling the file, and deletion can only be achieved if the process is terminated. So how do you position the process?

    Requires the help of third-party tools. However, in Windows 7 it is easy to do so with its Resource Monitor.

    The following is a simulation of a situation where a file cannot be deleted. Create a folder named test on the D drive, then run the Command Prompt (cmd) and locate the command path to the folder directory. At this point, we delete the test folder and we can see a pop-up dialog box as shown in Figure 1, prompting:

    The operation cannot be completed, and the folder or file is opened in another program.

    Next, we can do this: right-click on the Windows 7 taskbar and select the "Start Task Manager" command, click the "Performance" tab in the "Windows Task Manager" console window that opens, and 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, and then enter test in the search box to the right of the associated handle, and the system will automatically search for the system processes associated with the test handle.

    Wait for a while, as shown in the figure, you can see that the searched process is a confirmation of the above simulated situation). This indicates that it was the process calling the test folder that caused the deletion of the folder to fail. Right-click the process and select the End Process command to pop up a warning dialog box, and you can end the process after confirmation.

    Finally, delete the test folder and you can see that the folder was successfully deleted. Although the above is a simulated scenario, it is actually exactly the same as the real scenario, and as long as you apply it flexibly, you will not be bothered anymore.

  2. Anonymous users2024-02-06

    Hello, both have windows

    Delete Windows

    Administrator privileges are required, and then there will be a reminder to the system file, all OK. You can use dos to delete the del

    Pathname.

    For example, del--delete file.

    The format is"del

    Drive letter] [path] [file name].

    parameters].", for example:"del

    c:\data\*.bak"。It has one parameter:"/p", which allows the user to display a deletion query for each file when deleting multiple files.

    There is also an external command:

    deltree (delete command.)

    This is a super-enhanced version of the del command, which not only deletes files, but also deletes the specified directory and all the files and subdirectories under it. With it, we can easily delete the directory completely. Format"deltree

    File path].

    parameters].", there is one parameter"/y", the system will ask for each file when you use it"y"before deleting it.

Related questions
11 answers2024-03-23

This one.. System partitions cannot be deleted casually,。。 If you really don't want to see the partition, you can go into PE to change the hard disk ID to 17h to become a hidden partition. Use the HP system disk to restore.

13 answers2024-03-23

I've experienced it myself, so I might as well give it a try. >>>More

11 answers2024-03-23

Find a boot disk first, U disk, CD is OK, boot, if it's a Windows installation disk, boot to the console and run MBRFIX, if it's a DOS boot disk, use fdisk MBR, so that MBR is snatched from GRUB by Windows, and the boot goes directly into Windows. >>>More

17 answers2024-03-23

That's because there is still a **record in your **device,It means that there is still a program using the file.,If you change the file name,The path will also change; So it's a no-no.

14 answers2024-03-23

Yes, you need administrator permissions, you create a new user and log in with this new user, if you are the first account then it is the administrator, depending on your situation, if the new user you create is an ordinary user, then you need the password of the administrator account before you delete other users.