电脑在长时间使用后,垃圾文件会逐渐增多,影响系统性能。以下是清理垃圾文件的具体步骤:
- 创建一个新的txt文件:首先,在桌面上右键点击空白处,选择“新建” -> “文本文档”。

- 编辑文件内容:打开刚刚创建的txt文件,将以下代码复制粘贴进去:

@echo offecho 正在清除系统垃圾文件,请稍等......del /f /s /q %systemdrive%*.tmpdel /f /s /q %systemdrive%*._mpdel /f /s /q %systemdrive%*.logdel /f /s /q %systemdrive%*.giddel /f /s /q %systemdrive%*.chkdel /f /s /q %systemdrive%*.olddel /f /s /q %windir%.bakdel /f /s /q %windir%prefetch*.*rd /s /q %windir%temp & md %windir%tempdel /f /q %userprofile%cookies*.*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 清除系统LJ完成!echo. & pause
登录后复制
文章来自互联网,不代表电脑知识网立场。发布者:,转载请注明出处:https://www.pcxun.com/n/730791.html
