How to completely delete healthy internet experts! ! !
It is also a common solution to delete files by force: 1. Cancel or restart the computer, and then try to delete it. 2. Enter "Safe Mode Delete". 3. Delete with DEL, DELTREE and RD commands under the pure DOS command line. 4. If there are many subdirectories or files in the folder that cannot be deleted, you can delete the subdirectories and files in the folder first, and then delete the folder. 5. End the Explorer.exe process in Task Manager, and then delete the file in the command prompt window. 6. If ACDSee, FlashFXP, Nero and Total have been installed, you can try to delete the folders in these softwares. Second, advanced solution: 1. Disk error Run ScanDisk to scan the partition where the file is located. Before scanning, make sure that repair files and bad sectors are selected, scan all options comprehensively, and then delete files after scanning. 2. Pre-reading mechanism: Some media cannot be deleted when interrupted or previewed. Enter: regsvr32/u SHMEDIA.DLL in the "Run" box to cancel the pre-reading function. Or delete the following key value in the registry: [HKEY _ local _ machine \ software \ class \ clsid \ {87d62d94-71B3-4b9a-9489-5fe6850dc73e} \ inprocserver32]. 3. Firewall: Because the antivirus software will occupy the file being checked during virus detection, it will prompt that the file is in use when it is deleted. At this time, trying to temporarily shut down its real-time monitoring program may solve it. 4.OFFice, WPS series software: Illegally closing Office will also cause files to be unable to be deleted or renamed. Run the program again, then shut down normally, and then delete the file. 5. With WinRAR: right-click the folder to be deleted and select "Add to compressed file". Select "Delete source file after compression" in the pop-up dialog box, write a compressed package name casually, and click OK. 6. Permission: For 2000 and xp systems, please confirm whether you have permission to delete the file or folder. 7. Delete the executable file: If the image of the executable file or the DLL file called by the program is not released in memory, you will be prompted that the file is in use when deleting it. The solution is to delete the system page file, which is Win386. SWP in Win98 and pagefile.sys in Win2000/XP. Pay attention to delete under DOS. 8. File shredding method: Using a file shredder, such as a file shredder, you can completely delete some stubborn files. Third, it is not necessarily a bad thing to make an undeletable "file security" folder undeletable. If you put some important documents in this directory, can't you avoid deleting them by mistake? Creating and deleting folders with file names containing only spaces is not allowed in Windows, but folders with file names containing \ can be created in DOS. In the process of using Windows, we will encounter various problems. Even the simplest file deletion may encounter trouble, either the system prompts "the file is being used by another person or program" or reports "access denied" ... If you have encountered this situation, you may wish to read this article. Reason 1: The file is in use. When deleting a file, a common problem is that the file is in use and cannot be deleted. If you try to delete a file that is opened for exclusive access instead of * * *, an error message will appear: "xxx cannot be deleted: the file is being used by another person or program". On the other hand, you can use the delete command to delete a file, but the file is not actually deleted until the process that opened it releases it. To solve the above problems, it is necessary to determine the process that owns the file open handle, and then close this process. In the previous Windows, we could use Oh.exe's resource package. However, in XP, the installed support tools do not include Oh.exe. However, XP provides a new Openfiles.exe command-line tool that can report every file opened by a process. Similar to Oh.exe, Openfiles.exe also requires to turn on the system kernel monitoring, which will consume some memory and reduce the performance of the system. The command to open system monitoring is "Openfiles /local on", which will enable the system global flag "maintain object list" and will not take effect until the system is restarted. After restarting the system, execute "Openfiles" without parameters at the command prompt, and you can see the list of open files of each process. Reason 2: Bad disk area damaged by the file system, other hardware failures or software errors may damage the file system, making the file problematic and unable to be deleted. Typical operations may fail in different ways. When a file system corruption is detected, you usually receive a message prompting you to run Chkdsk. If this happens, you can run the Chkdsk utility on the disk volume to correct any existing errors. Depending on the nature of the damage, Chkdsk may or may not be able to recover the file data, but Chkdsk can restore the file system to an internally consistent state. For the commands and parameters of the Chkdsk utility, you can execute "Chkdsk/? At the command prompt. Ask. Reason 3: This file uses an access control list. If the file uses an access control list (ACL) and the operator does not have the corresponding rights, an "access denied" prompt may appear when deleting the file. Generally, administrators have the implicit ability to obtain ownership of any file, and file owners also have the implicit ability to modify file permissions. However, these default permissions can be modified. To solve the problem that files cannot be deleted due to ACL, you must log in as a user with corresponding permissions, or give yourself permission to delete files before deleting them. It should be noted that the operator must have the ownership of these files to change the permissions. If you can't use some security tools to display or modify the permissions of a file, because it uses irregular ACL, you can try using the command line tool Cacls.exe to modify it. Reason 4: The file name is reserved. As we all know, names like AUX and LPT 1 are reserved for old DOS devices. For backward compatibility, these file names are not allowed in Windows and cannot be created by typical Win32 file calls. Conversely, if the file name is a reserved name in the Win32 namespace, the file may not be deleted. To solve this problem, you can rename or delete the file under Linux or other non-Windows operating systems. In addition, if you can use specific syntax to specify the path of the file, you can also use some built-in commands to bypass the typical Win32 reserved name check. For example, in Windows XP, you can use the following command (add "? ) Delete the file named "lpt 1" After Del issued the command. Prevent Windows from checking the legality of file names): del [URL =/news/w 31/file://? c:】? C:[/URL] file path LPT 1 Cause 5: The file name is invalid. If the file name contains an invalid name, for example, the file name has a trailing space, or a trailing period, or the file name consists of only one space, the file may not be deleted. It is worth mentioning that if you use typical Win32 syntax to open a file with trailing spaces or trailing periods in its name, the trailing spaces or periods will be deleted before opening the actual file. Therefore, if there are two files named "File.txt" and "File.txt" in the same folder (note the space after the second file name), when the second file is opened by standard Win32 call, the first file will actually be opened. Similarly, if the file name is only ""(a space character), when you try to open it with a standard Win32 call, the parent folder of the file will actually be opened. In this case, if you try to change the security settings of these files, you may accidentally change the settings of other files. Similar to solving the problem of using reserved names for file names, you can delete the file using the appropriate internal syntax. For example, to delete a file containing trailing spaces, you can use the following command: del [URL =/news/w 31/file://? ]? [/URL] c: file path (file name with trailing space) Cause 6: The file path is too deep to access. The file is located in a path deeper than the maximum number of path characters (MAX_PATH), which may make the file inaccessible. Of course, this situation is rare. If the reason for the deep path is that the folder name is too long, the simplest solution is to use the automatically generated 8.3 name to access the file. If the 8.3 path is too long, you can rename the folders from the root folder and shorten their names so that the path depth of the target file does not exceed MAX_PATH. If the depth of the file exceeds 128 folders, you can create a network * * * to make it as deep as possible in the folder tree, and then access the file by visiting this * * * folder. Usually, if the file paths are too deep to access, you can use the software that created these files to manage them. In other words, if there is a program that can create files that exceed MAX_PATH, we can also use this program to manage these files. In addition, files with deep structure created through network sharing can also be deleted by using the same sharing. This paper introduces the reasons why files or folders cannot be deleted in Windows system and the solutions. In some cases, you may encounter different combinations of the above reasons, which makes the process of deleting files more complicated. This requires readers to be able to extrapolate and flexibly apply various practical tools provided by Microsoft to solve it. The problem of deleting AVI files in Windows XP Many friends may encounter the problem that AVI files cannot be deleted in Windows XP, which is mainly caused by bugs in the video preview function of Windows XP. You can try to delete it in the following ways. Method 1: Enter "REGS-VR32/U Shmedia.dll" in the run command box and press enter to uninstall the video file preview function of Windows XP. When you want to restore the video preview function in the future, just use the "Regsvr32Shmedia.dll" command to re-register. Method 2: first open the command prompt window, then end the Explorer process in the task manager, then switch from the command prompt window to the folder where the video file is saved, and delete the file with the Del command. Method 3 If a dual system is installed, it can be removed from another system, such as Win98.