您现在的位置: 电脑知识网 >> 菜鸟学堂 >> 操作系统 >> 正文

如何清理系统垃圾文件,制作系统垃圾清理批处理cleaner.bat

 日期:2008-7-8 6:34:30 作者: 您有问题?请联系我们 繁體中文

@echo off 
echo  .............................................................    
echo  Clearing the trash, waiting ...... 
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%\recycled\*.* 
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 Clean over!  Support by  zhaozht
echo     .............................................................    
echo. & pause

 

將以上代碼 保存到記事本中,將文件後綴存為bat,如 cleaner.bat 然后双击就可以开始清理了

更多内容请看 电脑知识商网 > > 菜鸟学堂 > > 操作系统专题


  • 上一个文章:

  • 下一个文章:
  • Pc235免费的教育教学网络资源
    【频道更新】
    【相关推荐】
    没有相关文章
    电脑知识商网 版权所有 严禁转载本站文章 违者追究法律责任
    copyright © 2007 www.shenmeshi.org.cn online services. all rights reserved. ICP备案:渝ICP备07500547号