不是限于系统范围要广。我的电脑中的全部垃圾谢谢!
@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 %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\*.*"
del /f /s /q %systemdrive%\recycled\*.*
rd /s /q "C:\Program Files\QQ2008\15054660"
rd /s /q "C:\Program Files\QQ2008\15054668"
rd /s /q "C:\Program Files\QQ2008\15054880"
echo 清除系统LJ完成!
echo. & pause
上面倒数5-3行就是你要删除QQ垃圾的代码,不过你还要改下,因为我们的电脑不一样啊。
15054660是你要删除的QQ号的垃圾,要多个QQ号自己添加,每个一行。
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 %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\*.*"
del /f /s /q %systemdrive%\recycled\*.*
rd /s /q "C:\Program Files\QQ2008\15054660"
rd /s /q "C:\Program Files\QQ2008\15054668"
rd /s /q "C:\Program Files\QQ2008\15054880"
echo 清除系统LJ完成!
echo. & pause
上面倒数5-3行就是你要删除QQ垃圾的代码,不过你还要改下,因为我们的电脑不一样啊。
15054660是你要删除的QQ号的垃圾,要多个QQ号自己添加,每个一行。
温馨提示:答案为网友推荐,仅供参考
第1个回答 2008-09-29
@echo off
echo 正在清除系统垃圾文件,请稍等......
echo author:max
echo finished time:2005-5-1
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%\小甜饼s\*.*
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 清除系统LJ完成!感谢 ^-^ tiger^-^
echo. & pause
-------------
把上面的内容复制到记事本中,然后另存为 清理垃圾.bat
双击运行即可
echo 正在清除系统垃圾文件,请稍等......
echo author:max
echo finished time:2005-5-1
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%\小甜饼s\*.*
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 清除系统LJ完成!感谢 ^-^ tiger^-^
echo. & pause
-------------
把上面的内容复制到记事本中,然后另存为 清理垃圾.bat
双击运行即可
第2个回答 2008-09-29
这个做不到,因为谁也不知道你机器有什么是垃圾,你需要清理什么,你不需要清理什么,这都是根据自己的需要来清理的。