The AVI file cannot be deleted in Windows XP.

Source: Internet
Author: User

The AVI file converted from mongoffmpeg.exe cannot be directly deleted (SHIFT + DEL). For a long time, I thought it was a problem with my program and finally found the problem on the internet today, it was originally caused by a bug in the video preview function of Windows XP.

In Windows XP, AVI video files cannot be deleted normally, because Windows XP's multimedia preview function is defective, that is, there is a bug in the shmedia. dll file. In-depth research found that this bug will prevent the deletion of AVI files only when the operation is terminated during the download or editing process, resulting in incomplete AVI video files. In short, when selecting an avimedia file in Windows XP, The delete.exe process will try to read the file information and provide the "preview" function, which will cause the media file to be occupied and cannot be deleted. The key to solving the problem is to cancel or bypass the preview function of Windows XP. Here we summarize five methods to delete it.

1. Create an empty folder, drag the file to be deleted to the folder, and delete the folder.

2. create an empty file, such as a TXT file, in the same folder of the media file. Drag and select the files together with the mouse When deleting the file, at this time, there will be no "preview" problem. Simply delete it.

3. after the instance is started, enter and execute CMD in "Start> Run", open a "command prompt" quit ", and then press" End Process ", at this time, the toolbar and desktop are gone. In this case, run the "Del" command in the "command prompt" (DOS) window to delete the AVI media file, and then enter "C: /Windows/cmder.exe "and execute the command to restore the toolbar and desktop.

4. Delete the key value "HKEY_LOCAL_MACHINE/software/classes/CLSID/{87d62d94-71b3-4b9a-9489-5fe6850dc73e}" in the Registry to solve the deletion problem. However, when you right-click the AVI file to view its properties, the preview of the file will no longer be displayed. We recommend that you export and back up the registry key value for future recovery. You can also enter and execute "regsvr32/u shmedia. dll" in "Start> Run" to achieve the same effect as the above operations. To recover, Run "regsvr32 shmedia. dll.

5. Use File Management software such as total commander, or use the "local browsing" function provided by software such as flashfxp for deletion. Because these operations are not dependent on the cmde.exe process, as long as there is no "preview" problem, there will be no occupation problems.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.