专用垃圾清理工具

简介:

 
 
  1. @echo off  
  2. title 专用垃圾清理器  
  3. echo 乔磊 制作  
  4. echo.  
  5. echo 正在清除系统垃圾文件,请稍等...  
  6. echo.  
  7. set alldrive=c d e f g h i j k l m n o p q r s t u v w x y z  
  8. del /f /s /q %systemdrive%\*.tmp  
  9. del /f /s /q %systemdrive%\*._mp  
  10. del /f /s /q %systemdrive%\*.log  
  11. del /f /s /q %systemdrive%\*.gid  
  12. del /f /s /q %systemdrive%\*.chk  
  13. del /f /s /q %systemdrive%\*.old  
  14. for %%a in (%alldrive%) do if exist %%a:\Recycled rd /s /q %%a:\Recycled   
  15. for %%a in (%alldrive%) do if exist %%a:\RECYCLER rd /s /q %%a:\RECYCLER   
  16. del /f /s /q %windir%\*.bak  
  17. del /f /s /q %windir%\prefetch\*.*  
  18. del /f /s /q %windir%\temp\*.*  
  19. del /f /q %userprofile%\cookies\*.*  
  20. del /f /q %userprofile%\recent\*.*  
  21. del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"  
  22. del /f /s /q "%userprofile%\Local Settings\Temp\*.*"  
  23. del /f /s /q "%userprofile%\recent\*.*"  
  24. echo 清理完成!  
  25. echo 请按任意键退出!  
  26. pause>nul 

本文转自sucre03 51CTO博客,原文链接:http://blog.51cto.com/sucre/394647,如需转载请自行联系原作者


相关文章
|
5月前
|
Java C语言 iOS开发
MacOS环境-手写操作系统-11-建立中断机制
本文详细介绍了如何为内核建立中断机制,涉及8259A中断控制器的初始化、中断信号的传递过程以及中断描述符表的设置。通过汇编和C语言代码展示了如何处理中断,特别是键盘和鼠标中断,最后给出了编译和运行的步骤。 摘要由CSDN通过智能技术生成
64 0
|
8月前
鼠标控制软件有可能和虚拟机软件产生冲突
Virtualbox虚拟机遭遇频繁卡顿和鼠标点击问题,尝试调整设置、更新Virtualbox及更换Win11操作系统未果。发现问题与X-Mouse Button Control软件冲突,卸载该软件后问题解决,推测是其功能与Virtualbox的鼠标集成存在冲突。
|
10月前
【嵌入式】虚拟机未能将管道连接到虚拟机: 系统找不到指定的文件
【嵌入式】虚拟机未能将管道连接到虚拟机: 系统找不到指定的文件
134 0
WGCLOUD运行服务器的硬件配置建议
agent对主机硬件无要求,agent对资源使用率很低,可忽略
|
数据安全/隐私保护 Windows