自己改进后的垃圾清理,点击一次,以后定时自动运行,改进盗版也不算是完全盗版吧。呵呵。打开计划任务服务才能自动运行。把文件保存为clean.bat才能正确执行!
----------------------------------------
@echo off
@copy /y clean.bat %systemdrive%\clean.bat
@attrib +s +r +h %systemdrive%\clean.bat
@at 10:30 %systemdrive%\clean.bat
@at 15:30 %systemdrive%\clean.bat
@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 垃圾文件清除完毕>>c:\log.txt
@echo 当前日期:>>c:\log.txt
@date /t>>c:\log.txt
@echo 当前时间:>>c:\log.txt
@time /t>>c:\log.txt
@echo 如有意见请与我联系,我的QQ号:自己加吧。>>c:\log.txt
@notepad c:\log.txt
exit