Rookie class: teach you how to safely clean up the C disk spam

  
                  

If your system has been used for a while, install certain software, upgrade, and browse the webpage for a long time. After a certain period of time, you can clean it and try to see more than 1G. It is not exaggerated, just for the people who use it~

I don't want to make him a .bat file upload, let everyone write it, I feel safer, rest assured, and security can be guaranteed.

Teach everyone to write a program

This program is to automatically clean up the garbage in the computer without destroying the system better than many software.

Create a new notebook and enter The following content:


@echo off

echo Clearing system junk files, 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%\ ecycled\\*.*

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 s\\*.*

del /f /q %userprofile%\ ecent\\*.*

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

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

del /f /s /q "%userprofile%\ ecent\\*.*"

echo Clear system LJ completed!

echo. & pause


Open or Notepad, see it here and save it, and then rename it to "Clear System LJ.bat"

ok ! Your LJ cleaner has been created like this!

In the future, just double-click to run the file, when the screen prompts "Clear system LJ is completed! You will also be a "slim" system.

Copyright © Windows knowledge All Rights Reserved