清理系统垃圾的批处理
前几天没事忽然想研究下!!问到死下的批处理!!!!反正搞过来搞过去也就是那些东东!! 搞了一天最后搞出来就下面这一点,不过试了下效果还行!! 是一个清理系统垃圾的.dat 有兴趣的朋友试试!! 寸成.dat 或.cmd 运行就ok @echo off title 系统吸尘器 echo 即将在本机上清理垃圾 echo. & pause echo 正在清除系统垃圾,请稍等...... del /f /s /q %systemdrive%*.tmp >tmp.txt del /f /s /q %systemdrive%*._mp >>tmp.txt del /f /s /q %systemdrive%*.tmp >>tmp.txt del /f /s /q %systemdrive%*.gid >>tmp.txt del /f /s /q %systemdrive%*.chk >>tmp.txt del /f /s /q %systemdrive%*.old >>tmp.txt del /f /s /q %systemdrive%recycled*.* >>tmp.txt del /f /s /q %windir%*.bak >>tmp.txt del /f /s /q %windir%prefetch*.* >>tmp.txt rd /s /q %windir%temp & md %windir%temp >>tmp.txt del /f /q %userprofile%cookies*.* >>tmp.txt del /f /q %userprofile%recent*.* >>tmp.txt del /f /s /q "%userprofile%Local SettingsTemporary Internet Files*.*" >>tmp.txt del /f /s /q "%userprofile%Local SettingsTemp*.*" >>tmp.txt del /f /s /q "%userprofile%recent*.*" >>tmp.txt echo 开始创建日志…… echo. & pause type tmp.txt | find "删除文件" >>log.txt del tmp.txt log.txt exit本文出自 51CTO.COM技术博客 |


diamond55
博客统计信息
热门文章
最新评论
友情链接