Fixes for files that cannot be deleted from a USB flash drive
Recently, a friend has been very annoyed. When using a USB flash drive to delete files, the system keeps prompting "warning that the file cannot be deleted." The USB flash drive cannot delete files, how can I continue the operation? Let the editor tell you how to fix the problem of unable to delete files from USB flash drive.
Repair measures for files that cannot be deleted from a USB flash drive:
1. Please first determine whether the file you want to delete is running or open. This will happen when you delete files related to running software or delete documents that have been opened.
2. The inability to delete files may be due to the permissions of the folder, which can be solved by modifying the permissions of the folder. The steps are as follows:
A. Click "Start", "Settings", "Control Panel", "Folder Options", select the "View" tab, find the "Use Simple File Sharing (Recommended)" checkbox in "Advanced Settings", and remove the check mark above.
B. Right-click on the folder to be deleted - Properties, click "Security", "Advanced", "Owner", then click "Edit", "Advanced Other Users or Groups", enter your user name in the selected object name, or click Advanced - Find Now, select your user name, OK, then select Replace the owner of the subcontainer and object, and then "Apply" and "OK", so that we have ownership of this folder. Then click "Permissions", "Edit", "Add", fill in your username or use "Advanced", "Find Now", OK, then click your username to edit, check the Full Control/Allow option, OK, then check "Replace existing inheritable permissions on all descendants with permissions inheritable from this object", and then click Apply-OK-OK-OK. In this way, the file can be deleted.
C. First, we create a new text document on the desktop, and enter the following command in it:
DEL /F /A /Q? %1
RD /S /Q? %1
Save the file as "****.cmd" (the name can be customized, but the suffix must be ".cmd")
Then, store the files or directories to be deleted in this bat file and delete them.
When the U disk storage space is full, it is necessary to clean the U disk in a timely manner to ensure that there is more space to maintain the operation of the U disk. We hope that the above-mentioned measures to fix the problem that the U disk cannot delete files can help users successfully complete the cleanup work.
免责声明:All articles and pictures on this site are from user sharing and Internet collection. The copyright of articles and pictures belongs to the original author and original source. They are for learning and reference only. Please do not use them for commercial purposes. If your rights are damaged, please contact the website customer service.


