The file cannot be deleted. "The source file or disk cannot be read" SOLUTION
Source: Internet
Author: User
The file cannot be deleted. & quot; the source file or disk cannot be read. Solution: Linux general technology-Linux technology and application information. For details, see the following. There is always a file directory on my computer that cannot be deleted. The system prompts "error: unable to read the source file or disk ".
In command line mode, del and deltree commands cannot be deleted, and the system prompts "the specified file cannot be found ".
Windows xp pe started with a file shredder, WinXP PE started with a CD, and Linux started with a CD are all invalid.
You can create a new directory with the same name as this directory at the same location. No conflict is found. When they are displayed as lists in the resource manager, the name of the folder that cannot be deleted is truncated ("..." is displayed at the end. ") and the other is not truncated. After careful check, there is one or more spaces at the end of the folder that cannot be deleted. The error directory is downloaded from an FTP. The FTP system may be Linux.
Solution: Use a short name in the "8.3" format to perform the operation. You can use the "dir/x" command in the command line window to obtain the short name. The penultimate column of the output content is the short name. With the short name, you can use the "rd [Folder short name]" command to delete the folder.
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.