Get the App
SLTechnology News&Howtos  ›  Development  › 

How to clean up the junk files on disk C by win

Shulou Source: shulou.com Published: 2022-06-03 06:09:17 11月15日 Update

This article mainly introduces win how to clean up C disk garbage files, the article is very detailed, has a certain reference value, interested friends must read it!

This method can safely clean the C disk, so that you have nearly 1G more space!

Many friends say that it is exaggerated and can only be reduced by dozens of megabytes. In fact, that is because your system is originally relatively clean. If you use the system for a period of time, install certain software, upgrade, and browse web pictures for a long time, you will try to clean up after a certain period of time to see if you can reach more than 1G, no exaggeration, just for the users.

Do not want to make him into a .bat file upload, let everyone write their own, will feel more secure, rest assured, security can be guaranteed.

Teach everyone to write their own program, this program is to automatically clean up the garbage in the computer without damaging the system, which is better than many software.

Create a new notepad and enter the following:

The code is as follows:

@ echo off

Echo is cleaning up junk files on the system. Please wait a moment.

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 garbage removal system completed!

Echo. & pause

Open or notepad to see clearly here and finally save it, and then change the name to "clear the system LJ.bat". Ok! That's how your LJ scavenger was made!

In the future, just double-click to run the file, when the screen prompt "clear the system garbage is complete!" you will have a "slim" system! then take a look at your computer, is it flying fast?

The above is all the contents of the article "how to clean up the junk files on disk C by win". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Tags: System garbage file security content time computer program article notepad software clean slim success then code value interest then just Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Apple Huawei vpn OPPO Reno