ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 清除垃圾文件DOSBAT

清除垃圾文件DOSBAT

原创 Linux操作系统 作者:zhengnx 时间:2010-08-28 16:18:15 0 删除 编辑

@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 SettingsTemporary Internet Files*.*" ­

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

del /f /s /q "%userprofile%recent*.*" ­

echo 清除系统LJ完成! ­

echo. & pause ­

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7868752/viewspace-1037517/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-08-11

  • 博文量
    1305
  • 访问量
    20583847