我们可以输入下面的代码:
@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 篇文章
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!