1、首先在桌面新建一个TXT文本
2、打开记事本之后,在里面编辑代码
3、把下面的英文代码复制一下,粘贴到文本文件里面来。@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 %systemdrive%\recycled\*.*del /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 Settings\Temporary Internet Files\*.*"del /f /s /q "%userprofile%\Local Settings\Temp\*.*"del /f /s /q "%userprofile%\recent\*.*"echo 清除系统LJ完成!echo. & pause
4、然后再用左击点击一下,找到里面的那个保存再点击一下,文件名填写:清除系统LJ.bat,最后一步在保存到桌面,这样清理系统垃圾临时文件的工具,就做好了。
5、我们再回到电脑桌面,点击清除系统LJ.bat,能不能正常使用,打开运行的效果如下,双击打开此文件就可以帮你快速自动清理系统垃圾啦!
6、正确格式bat,更改成功后在可以使用