The file in the U disk can not be deleted how to do? Do not know if you have heard of DOS delete file This method, then you know how to operate it? Do you know about DOS? The file deletion command parameter? Now it's up to you.
We want to delete the file first in the file to build a text document, which entered CMD, save for 1.bat. Then double-click to run, which is the way to run the DOS command.
If you delete one or several files:
DEL [/P] [/f] [/S] [/q] [/a[[:]attributes]] names or erase [/p] [/F] [/s] [/q] [/a[[:]attributes]] Names
Where names specifies a list of files or directories, that is, the path and file name of the file. Wildcard characters can be used to delete multiple files. If a directory is specified, all files in the directory are deleted.
/p prompts for confirmation before deleting each file.
/F Forces a read-only file to be deleted.
/s Deletes the specified file from all subdirectories.
/q Quiet mode. Confirmation is not required when global wildcard characters are deleted.
/A Select the file you want to delete based on the properties.
Attributes
R read-only files
S System files
H hidden files
A Archive File
-prefix that represents "no"
For example, in DOS, the current prompt is H:, enter del Help.txt directly, then delete a file called Help.txt in the current directory. If you want to delete a file named Help.txt in the Temp subdirectory under the Windows directory in C disk, the command format is: Del c:windowstemphelp.txt