Eliminate system errors delete files with garbled names

Source: Internet
Author: User

Many friends have encountered such a situation: a file with garbled file names (hereinafter referred to as a garbled file, note: the file name is garbled, not the file content is garbled ), they cannot be opened, renamed, deleted, or moved. View the file properties. The system displays no file type, and they generally occupy a large disk space (figure 1 ).

This article focuses on the causes of these garbled file names and how to delete these annoying garbled files.

  

Figure 1

I. Causes of garbled file names

After careful analysis and research, I think the causes of garbled files are as follows:

1. An error occurs in the hard disk track or sector, leading to garbled file names. Such files cannot be deleted normally.

2. Sometimes the file deletion operation is performed in Windows, but the related file information in the file allocation table on the disk is deleted, and the file is not actually deleted.

3. Incorrect operation. When you use BT to download the software, stop downloading when the download progress reaches 99%, and modify the file name by yourself. Because BT downloading is not sequential downloading, this may cause file index information errors, this causes garbled files to appear.

4. Use the disk tool PQmagic to convert the over-range format (for example, from NTFS to FAT32). The file name is garbled. PQmagic does not support Chinese file names very well. Therefore, After partitioning, Chinese file names may be garbled, and even the file content may be garbled.

5. The file name is garbled due to a virus. The cause of this garbled file is complicated. Generally, the disk logic error is caused by a virus self-made or virus-removing virus caused by incomplete antivirus software deletion.

6. garbled files appear on mobile storage devices such as flash memory and mobile hard disk, especially on mobile phone memory cards. This is often caused by incorrect use of mobile storage devices, such as direct disconnection from devices. However, sometimes bad flash or mobile hard disks may also contain garbled files, which is a quality problem for mobile devices. For example, if an error occurs when writing data to the memory card, a garbled file appears, and "Windows failed to delay writing, Windows cannot be x:/windows/windowsupdate. the log file stores all the data. This is mostly because the memory card is damaged.

Ii. delete files with garbled file names

There are many reasons for the generation of garbled files. After careful research, I found the following solutions:

1. Try to rename the file, if you can rename it. Run cmd to open the task manager, end the explorer process, switch to the cmd command prompt, and enter "Del file name" to delete the file. This method is only applicable to files that can be renamed. Close all other unrelated programs before performing the operation.

2. If the system prompts "Access Denied" When renaming a file, run the "chkdsk/f" command in cmd mode to check disk errors and fix them.

Figure 2

If a disk error is found, the general error can be fixed. After the fix is completed, you can delete the garbled file (Figure 3 ).

   

Figure 3

Note: Sometimes, because the partition where the garbled file is located is the system zone, the system will prompt "another process is calling this volume. Do you want to check this volume the next time you start the system ?" We recommend that you run the chkdsk command in this way, use the Windows installation disk to boot the system, and press "R" to repair the existing system and enter the command prompt status, run the "chkdsk/f" command here. I tested it, and the running effect is much better than that in Windows cmd mode. Run the "fixmbr" command to repair the partition table. It can also fix other system problems.

3. if you still cannot delete garbled files after the previous step, you can use our most commonly used WinRAR compression tool to delete them, the specific method is to compress the garbled file and select the "delete source file after compression" option (figure 4 ). In this way, General garbled files can be deleted.

  

Figure 4

4. However, if the index block of the file's disk file has been damaged, WinRAR will not be able to solve the problem. At this time, it is necessary to borrow the powerful tool Ghost. First, make the partition with garbled file into an image file, then use Ghost explorer to browse the image file, find and delete the garbled file (figure 5), and then restore the image file to the source partition. This method can solve the problem that a large number of garbled file names cannot be deleted.

  

Figure 5

5. If you have installed Windows and Linux systems, there is another solution.

First, start the system in Linux, run the "mount" command to load the FAT32 partition with a garbled file and specify codepage = cp437. Then you can see the complete Chinese file name and directory. Then run the "cp-r" command to copy the garbled file to the Linux partition. Run the "umount" command to unmount the FAT32 partition, run the "mount" command again, and specify codepage = cp936, run the "iocharset = cp936 cp-r" command to copy the garbled file back. This method can completely restore partitions without loss.

Tip: For garbled files, do not use file shredders, unlocker, optimization masters, and other file deletion tools. These tools do not work for garbled files, and may even cause new disk errors.

 

 

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.