用bat代码清里垃圾
工具/原料
电脑
方法/步骤
1
新建一个文本文档,并把下列代码复制到里面
2
@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%\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 清除啦级完成!echo. & pause
3
吧新建文本文档.txt的txt改为bat
4
双击
上一篇:打造属于自己的个性博客高亮代码
下一篇:如何制作代码雨