2000/XP can not delete the file solution

  

Some files are no longer useful, we do not want him to take up the hard disk resources, but want to delete and delete, what should we do this time? Please see the following article about the solution to the failure to delete files in Windows 2000/XP. There are several situations in which such problems occur: 1. On the NTFS file system, the ACL (Access Control List) is used, and there is no permission to access the file you want to delete. Second, the file is being used by another program user. Third: the file system is corrupted and the file you want to delete cannot be accessed. 4. The path of the file is too long to be inaccessible. 5. The file name uses illegal characters or Windows reserved keywords. The corresponding solution for each case is as follows: Case 1, you can use the administrator account to obtain access rights by resetting the ACL. For this case, you can use the following methods: login with an administrator account, inaccessible files Right-click on the property, select the “Security" tab, select the “Advanced" button, and then select the "Owner" tab, and in the "Change owner to " Account, reverse color, then click on the <quo;apply" button to make the owner your own. Finally click the OK button twice to close the properties dialog. Open the Properties dialog again and you can see that the “Add” button under the “Security” tab has been programmed. Click this button and type in the “Select User and Group” dialog box. Access the account name of this file (note the format: computer name\\account name). Click the OK button to return to the previous dialog box, then select the Full Control checkbox in the “Account Name Permissions"BOX and click OK to regain access. Similarly, you can use the cacls command to assign permissions in command line mode. Case 2, find the program that uses the deleted file and close it. Common failures occur when deleting an AVI file. Because Windows has a read-ahead mechanism, read-ahead makes the file in use and cannot be deleted. There are many solutions: a) Close all resource managers, delete files or directories using the command del or rd (recommended); b) Delete the following key in the registry: HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\CLSID\\{87D62D94-71B3- 4b9a-9489-5FE6850DC73E}\\InProcServer32. It is recommended to export the backup registration key value so that it can be restored later if needed; c) Enter the DOS command window, run: REGSVR32 /U SHMEDIA.DLL to cancel the pre-read function; d) Use the "Windows traditional style folder" view mode (Folder Options - Select below the task) e) Use a third-party tool that can browse local files, such as FlashFXP, CuteFTP, etc., to delete.


Copyright © Windows knowledge All Rights Reserved