Win7 The computer can not delete the document how to deal with it?

Source: Internet
Author: User

We in the daily operation of the computer, it is inevitable that the need to delete useless documents, cleaning up the garbage in the system, then do you have encountered the deletion of the file? In general, you can remove these useless files by right-clicking, deleting them, or deleting them using third-party software, But a friend found that the original computer has such a stubborn file, these three ways can not be cleaned up, then encountered such a document, how do we deal with it? The following small series to Win7 flagship version for example, for everyone to tell the way to operate it!

1. Return to the desktop of the computer, right-click in the blank, a new text document, that is, txt format file, double-click to open the document you, enter the following two lines of code:

del/f/a/q?%1

RD/S/q?%1

Then we do not directly click to save, but choose to save as, and then rename the file to Xx.bat, where the xx is everyone can be named, the most important is the back. bat, which is the suffix of the save file, is required. Once saved, the icon on your desktop should look like the one shown in the following figure.

2. Next, we can try to use this to delete a file, for example, I want to delete the new location of the desktop. txt file, and then drag the location of this file directly into the. bat file, which pops up a command prompt window, and the system automatically starts deleting the location, as shown in the following figure.

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.