Win7 How to set up the shutdown automatic cleaning system garbage? Win7 the method of setting off automatic cleaning system garbage

Source: Internet
Author: User

Operation Steps:

1, the right mouse click on the desktop to create a new text document, double-click to open it, and then enter in the inside:

The code is as follows Copy Code

Del folder path/q

Note: The above command can also use a button to automatically clean the bat command

Then click "File-Save as" in the upper-left corner, as shown in the following figure:

2, in the pop-up Save as a window, we first click on "desktop", and then in the Save Type Drop-down box select "All Files", the file name is "automatically clean temporary files. bat", and then click the "Save" button, as shown in the following image:

3, after the completion of the previous operation, press the key combination (Win key +r) Open the running window, enter "gpedit.msc", carriage return confirmation. In the open Local Group Policy Editor window, click "Computer Configuration--windows Settings-script (boot/Shutdown)", and then double-click "Shutdown" in the right panel, as shown in the following illustration:

4, in the Shutdown Properties window, select the "Script" bar, and then click the "Add" button, as shown in the following image:

5, then in the Pop-up Add Script window click the "Browse" button, the desktop automatic cleanup temporary files. bat executable file added in, and then click the "OK" button, as shown in the following image:

6, finally in the Shutdown Properties window, click the "Apply-OK" button, as shown in the following figure:

The above is a small series of Win7 set shutdown Automatic Cleaning system garbage method, thank you for your reading!

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.