我們可以輸入下面的代碼:
@echo off?
echo 正在斷根系統垃圾文件,請稍等......?
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%\小甜餅s\*.*?
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 斷根系統LJ完當作!?
echo. & pause?
然后把代碼復制保留在一個文檔里。
將文件保留到桌面,打開就可以看到刪除垃圾文件的窗口了,可是要注重主要的文件的不要放C盤哦。
進入我的電腦,然后選擇C盤,之后點擊屬性。就可以看到磁盤清理了。
系統掃描垃圾文件后,我們點擊查看文件具體信息。
謹嚴選摘要刪除的文件,之后點擊確定就完當作了。
點擊確定后,系統會刪除磁盤垃圾的碎片。
下載電腦管家或者殺毒東西根基都有這個功能,一般這些東西城市有一個系統優化功能。
0 篇文章
如果覺得我的文章對您有用,請隨意打賞。你的支持將鼓勵我繼續創作!