score是什么意思啊了:【电脑知识】自己动手做一个垃圾清除小软件。。。很小很强大

来源:百度文库 编辑:偶看新闻 时间:2024/04/28 19:24:15
 (1)首先先在桌面上新建一个以.txt结尾的文本文档,顺便重命名一下:“清除系统垃圾的文件”。

  (2)复制以下的代码到刚刚新建的文本文档里面:

  @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



  (3)复制粘贴完成后,关闭文本文档记住保存,保存后要注意修改文件扩展名".txt"为".bat ",





  (4)修改完后,便生成了一个以".bat"结尾的新文件,双击该文件便可以使用。



  该文件小巧方便,不占内存,绿色无毒。

 

  欢迎您走进冬韵如歌的个人图书馆 --冬韵如歌