这个是老题材了,有很多的源代码,参考代码(转自黑蚂蚁):
- @echo off 转自黑蚂蚁www.hackant.com
- echo 正在清除系统垃圾文件,请稍等...... 转自黑蚂蚁www.hackant.com
- del /f /s /q %systemdrive%\*.tmp 转自黑蚂蚁www.hackant.com
- del /f /s /q %systemdrive%\*._mp 转自黑蚂蚁www.hackant.com
- del /f /s /q %systemdrive%\*.log 转自黑蚂蚁www.hackant.com
- del /f /s /q %systemdrive%\*.gid 转自黑蚂蚁www.hackant.com
- del /f /s /q %systemdrive%\*.chk 转自黑蚂蚁www.hackant.com
- del /f /s /q %systemdrive%\*.old 转自黑蚂蚁www.hackant.com
- del /f /s /q %systemdrive%\recycled\*.* 转自黑蚂蚁www.hackant.com
- del /f /s /q %windir%\*.bak 转自黑蚂蚁www.hackant.com
- del /f /s /q %windir%\prefetch\*.* 转自黑蚂蚁www.hackant.com
- rd /s /q %windir%\temp & md %windir%\temp 转自黑蚂蚁www.hackant.com
- del /f /q %userprofile%\cookies\*.* 转自黑蚂蚁www.hackant.com
- del /f /q %userprofile%\recent\*.* 转自黑蚂蚁www.hackant.com
- del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*" 转自黑蚂蚁www.hackant.com
- del /f /s /q "%userprofile%\Local Settings\Temp\*.*" 转自黑蚂蚁www.hackant.com
- del /f /s /q "%userprofile%\recent\*.*" 转自黑蚂蚁www.hackant.com
- echo 清除系统LJ完成! 转自黑蚂蚁www.hackant.com
- echo. & pause 转自黑蚂蚁www.hackant.com
- 转自黑蚂蚁www.hackant.com
复制代码
重写题材的代码要求:
1、更加精练、简洁;
2、涉及内容更全,也更安全
3、最好配有解释... |