清除电脑缓存的bat文件
清除电脑缓存的bat⽂件电脑在使⽤了之后,会产⽣垃圾缓存,若不及时清理会降低电脑的运⾏速度。
1、步骤:
2、新建⼀个记事本⽂件,命名“系统清理”;(或其他名字)
3、原封不动复制下⾯的⽂字到该记事本中
清除电脑垃圾@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%\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 清除系统L完成!
echo. & pause
保存并关闭记事本,后修改记事本的后缀名.txt改为.bat,双击可运⾏;

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。