Clear computer junk before shutdown

Source: Internet
Author: User
Clear computer junk before shutdown Every time a computer is used, many temporary files will be generated. If they are not cleared in time, they will "pile up" to reduce the disk space of the computer. Here we will introduce you to a very simple way to clear computer "junk,

The specific method is:

1. Click "My Documents"> "Files"> "new"> "text documents" in the upper left corner of the home page, or click "start -- program -- attachment -- Notepad" in sequence ". Name the text document "Disk Cleanup. Bat ";

2. Copy, paste, and save the following text in the text document;

@ Echo off

ECHO is clearing the System junk file. Please wait ......

Del/f/S/Q % systemdrive % \ *. tmp

Del/f/S/Q % systemdrive % \ *. _ MP

Del/f/S/Q % systemdrive % \ *. Log

Del/f/S/Q % systemdrive % \ *. GID

Del/f/S/Q % systemdrive % \ *. Chk

Del/f/S/Q % systemdrive % \ *. Old

Del/f/S/Q % systemdrive % \ recycled \*.*

Del/f/S/Q % WinDir % \ *. Bak

Del/f/S/Q % WinDir % \ prefetch \*.*

RD/S/Q % WINDIR % \ Temp & MD % WINDIR % \ Temp

Del/f/Q % USERPROFILE % \ cookies \*.*

Del/f/Q % USERPROFILE % \ recent \*.*

Del/f/s/q "% userprofile % \ Local Settings \ Temporary Internet Files \*.*"

Del/f/s/q "% userprofile % \ Local Settings \ Temp \*.*"

Del/f/s/q "% userprofile % \ recent \*.*"

Echo system LJ cleared!

Echo. & pause

Sfc.exe/purgecache

This icon appears.

3. Right-click the image, and then click "send" --- "desktop shortcut" in the option box ". The icon appears on your desktop;

4. You can clear useless junk files by double-clicking before each download.

When "press any key to continue" is displayed, you can simply press a key to end the work.

The program determines the running time based on the amount of "junk" in your computer. It will take longer to run a computer that has never been cleaned up.

Related Article

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.