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.