Get the App
SLTechnology News&Howtos  ›  Development  › 

A tutorial on how to clean up all junk files in the system in one minute

Shulou Source: shulou.com Published: 2022-06-03 08:51:01 09月16日 Update

This article introduces the knowledge of "how to remove all junk files in one minute". Many people will encounter this dilemma in the operation of actual cases. next, let the editor lead you to learn how to deal with these situations! I hope you can read it carefully and be able to achieve something!

Windows generates quite a lot of junk files during installation and use, including temporary files (e.g. * .tmp, *. _ mp) log files (* .log), temporary help files (* .gid), disk check files (* .chk), temporary backup files (e.g. * .old, * .bak), and other temporary files. In particular, if the temporary folder "Temporary Internet Files" of IE is not cleaned for a period of time, the cache files in it sometimes take up hundreds of MB of disk space. These junk files not only waste valuable disk space, but also make the system run as slow as a snail. I'm sure you can't stand this! Therefore, we should clean up the junk files of the system in time, keep the "slim" figure of the system, and surf the Internet easily and smoothly!

The following steps are very simple, just two steps!

Click the right mouse button on the desktop, choose to create a new "notepad", copy the following words into it, click "Save as", set the file name as "clear system garbage .bat" and finish it. Remember that the suffix must be .bat, good ok! That's how your garbage remover was made! Double-click it to quickly clean up the junk file in less than a minute.

* the code section begins *

@ echo off echo is cleaning up the system junk files. 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 system garbage removal completed! Echo. & pause

Tags: Files garbage systems disks tutorials methods content more knowledge space process valuable practical smooth slim learned and then not just code suffix Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Linux Xiaomi Shulou Information Docker