How to clean up c disk garbage? How to quickly clean up c disk garbage?

  
 

How to clean up c disk garbage? Every day, the Internet will bring a lot of temporary files to the computer
. These junk files will not be cleaned up for a long time and will affect the running speed of the computer
. So how to quickly clean up the c disk garbage? Generally, it will be cleaned up with tools such as computer
housekeeper. Here are a few methods for your reference.

Clean up the c disk garbage steps /methods:

1, code deletion method;

(1) This is a method seen on the Internet, I tried it, It feels good too, it is a series of code. Let's share it with everyone below. The code is as follows: @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%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 s*.*

Del /f /q %userprofile%recent*.*

del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"

del /f /s /q "%userprofile%Local SettingsTemp*.*"

del /f /s /q "%userprofile%recent*.*"

echo Clear System LJ Complete!

echo. & pause

Copy the code into a text document and modify it to LJ.bat as a file name.



(2) Then save the file to your desktop. Then click to open. You can see a bunch of windows that delete junk files. This method is quite convenient and quick. However, be careful not to put important files on the C drive, so as not to be deleted, you can't recover!



2, manually clean the disk;

(1) first enter my computer. Then click on the C drive! Then select the properties and you will see a disk cleanup button. It is best to turn off all the programs to clean up the value here. No, then the fruit will be a bit serious.



(2) The system will then scan the junk files for this disk. We can view the details of these files and click to view the file.


(3) After selecting the file to be deleted, click OK.




3, use tool cleaning

Download computer housekeeper or anti-virus tool basically has this function, generally these tools There will be a system optimization function,

Go to the system optimization page to see a cleanup option, where each disk will be scanned. After the scan is complete, click Clear to fix it. .

Copyright © Windows knowledge All Rights Reserved