Confirmation is not required to delete files under del RD command line

Source: Internet
Author: User

Del command parameter description
/F force Delete read-only files.
/S deletes the specified file from all subdirectories.
/Q quiet mode. Confirmation is not required when deleting a global wildcard.
/A select the file to be deleted based on the attribute.

Rmdir [/S] [/q] [drive:] path
Rd [/S] [/q] [drive:] path
In addition to the directory,/s also deletes all files in the specified directory. Used to delete a directory tree.

/Q quiet mode. confirmation is not required when/s is used to delete the directory tree.

Send you a batch
Save the following file as the malformed file to me. batCopyCodeThe Code is as follows: del/f/A/Q \\? \ % 1
RD/S/Q \\? \ % 1

You can directly delete the files or folders to be deleted and put them on the BAT file.

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.