|
电脑用久了,系统分区肯定会有许多垃圾文件,占据大量空间,像我的硬盘只有60G,就需要经常清理清理了,硬盘大的朋友也要清理清理垃圾文件,多了是会影响系统运行速度的。这个程序是自动清理电脑里的垃圾而不会破坏系统 。
新建一个记事本并输入以下的内容
程序代码:
| @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 清除系统垃圾文件完成! echo. & pause |
保存,不过还是文本文档是没什么作用的,把你保存的如:系统垃圾清理.txt,重命名为如:系统垃圾清理.bat。如果你保存后,并没有看到扩展名:txt,就打开我的电脑->工具->文件夹选项->查看,把隐藏已知文件类型的扩展名不要选中,点确定,然后再重命名。
| 没有路由密码权限时的鸽子上线方 | 08-23 |
| 完全解析网页后门和挂马 | 04-02 |
| 真实的网络攻击取证纪实 | 03-27 |
| 利用404错误页面挂马 | 03-21 |
| 解密风暴 | 03-21 |
| 社会工程学在黑客中的应用 | 01-02 |
| 轻轻松松解密各种网页木马 | 12-21 |
| SA权限无xp_cmdshell时取权限又一 | 12-14 |
| sqlserver2005中恢复xp_cmdshell | 11-10 |
| 实现无net.exe和net1.exe添加系统 | 10-26 |
| 用U盘轻松去除XP管理员密码 | 10-26 |
| 教你多种保护措施限用移动硬盘 | 10-09 |