Chinaunix首页 | 论坛 | 博客
  • 博客访问: 133091
  • 博文数量: 98
  • 博客积分: 10
  • 博客等级: 民兵
  • 技术积分: 1017
  • 用 户 组: 普通用户
  • 注册时间: 2011-06-11 13:22
文章分类

全部博文(98)

文章存档

2015年(25)

2014年(42)

2013年(31)

我的朋友

分类: 网络与安全

2013-12-04 20:32:05

先创建一个批处理文件入a.bat,在里面输入以下内容

@color 24
@echo 删除开始
@pause
@del /f /s /q %systemdrive%\recycler\.
@del /f /s /q %systemroot%\prefetch\.
@del /f /s /q %systemroot%\temp\.
@del /f /s /q "%userprofile%\cookies\."
@del /f /s /q "%userprofile%\recent\."
@del /f /s /q "%userprofile%\Local settings\history\."
@del /f /s /q "%userprofile%\Local settings\temp\."
@del /f /s /q "%userprofile%\Local settings\temporary internet files\."
@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%\*.old
@del /f /s /q %systemdrive%\*.bak
@echo  删除结束
@pause

 

然后保存。

双击该文件直接执行,就可以删除电脑上面的垃圾文件。

阅读(297) | 评论(0) | 转发(0) |
0

上一篇:checkbox全选与反选

下一篇:数据库连接

给主人留下些什么吧!~~