绿色高清视频大全播放器!

当前位置: 主页 > 教程 > BAT文件删除系统垃圾的小技巧

BAT文件删除系统垃圾的小技巧

更新时间:2022-11-15 14:26:25

闪云游戏

类型:安卓播放器 更新时间:2023-09-21 15:23:08
大小:21.2M 应用平台:Android
立即下载

  今天为大家分享一个使用BAT文件删除系统垃圾的小技巧,感兴趣的朋友就一起通过文章来了解了解吧。

BAT文件删除系统垃圾的小技巧

  首先在桌面上建立一个记事本文件,输入以下命令,然后把文件保存为.bat后缀的文件,双击执行即可。

  @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% ecycled*.*

  del /f /s /q %windir%*.bak

  del /f /s /q %windir%prefetch*.*

  rd /s /q %windir% emp & md %windir% emp

  del /f /q %userprofile%cookies*.*

  del /f /q %userprofile% ecent*.*

  del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*"

  del /f /s /q "%userprofile%Local SettingsTemp*.*"

  del /f /s /q "%userprofile% ecent*.*"

  echo 清除系统垃圾完成!按任意键继续……

  echo. & pause