打印

[求助] 寻找一键清理垃圾的小方法

0

寻找一键清理垃圾的小方法

以前有一个一键清理垃圾的小程序,现在不能用,瑞星限制。谁有好的,谢谢提供

TOP

0
把以下这些代码复制进记事本里面!
@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 清除系统LJ完成!
echo. & pause
再把记事本的扩展名TXT改成bat就可以了!双击进去可以杀毒了!

TOP

0
不好意思打错了!是双击进去可以把垃圾清理了!

TOP

0
嗯。2楼那个bat很好,现在很流行,可以清理c盘很多垃圾

TOP

0
会不会把WIN32这类的执行程序删除呢?我以前用了一个叫 系统瘦身的一个清除垃圾文件执行命令~ 跟发表帖子的兄弟差不多的一个编写命令程序~ 可是 垃圾是删除了不少 唯独把WIN32这个执行命令也闪出了 ! 弄得我只有重装系统~

TOP

0
这个不会的我用了好久啦!好用才发上去的!也在这个论坛看到的!所以不用谢我!

TOP

0
用这个吧
cclear
http://www.wt.xdowns.com/xdowns/uploadFile/2007-7/CCleaner141.rar
下载地址用迅雷下吧
用起来更专业一点

TOP

0

回复 4楼 的帖子

楼上推荐的这个方法不错的,不过在百度里可以直接搜索到的

TOP

0
怎么不会用呀,再说详细点好吗
说的太不明白的

TOP

0
我这里也有一个,跟2楼兄弟的差不多!只是比2楼兄弟的多了一些清理desktop.ini文件,使用方法与2楼一样!
cho 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\*.*"
  
attrib -R -A -S -H D:\autorun.inf
del D:\autorun.inf/q
attrib -R -A -S -H E:\autorun.inf
del E:\autorun.inf/q
attrib -R -A -S -H F:\autorun.inf
del F:\autorun.inf/q
attrib -R -A -S -H H:\autorun.inf
del H:\autorun.inf/q
attrib -R -A -S -H I:\autorun.inf
del I:\autorun.inf/q
attrib -R -A -S -H D:\sxs.exe
del D:\sxs.exe/q
attrib -R -A -S -H E:\sxs.exe
del E:\sxs.exe/q
attrib -R -A -S -H F:\sxs.exe
del F:\sxs.exe/q
attrib -R -A -S -H H:\sxs.exe
del H:\sxs.exe/q
attrib -R -A -S -H I:\sxs.exe
del I:\sxs.exe/q
attrib -R -A -S -H D:\_desktop.ini
del D:\_desktop.ini/q
attrib -R -A -S -H E:\_desktop.ini
del E:\_desktop.ini/q
attrib -R -A -S -H F:\_desktop.ini
del F:\_desktop.ini/q
attrib -R -A -S -H H:\_desktop.ini
del H:\_desktop.ini/q
attrib -R -A -S -H I:\_desktop.ini
del I:\_desktop.ini/q

[ 本帖最后由 ColOr. 于 2008-7-19 09:52 编辑 ]

TOP

当前时区 GMT+8, 现在时间是 2025-3-19 13:36