U disk file can not delete how to do?

Source: Internet
Author: User

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

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.