Chinaunix首页 | 论坛 | 博客
  • 博客访问: 108444
  • 博文数量: 32
  • 博客积分: 1222
  • 博客等级: 中尉
  • 技术积分: 350
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-08 16:36
个人简介

天高任鸟飞,海阔凭鱼跃

文章分类

全部博文(32)

文章存档

2011年(5)

2010年(27)

我的朋友
最近访客

分类: WINDOWS

2010-09-27 16:13:54

应用案例:
利用批处理清除系统垃圾文件
1)打开“记事本或写字板”,输入以下内容:
@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
2)然后另存为.bat文件.
3)最后,直接双击这个批处理文件就可清楚系统的一些垃圾文件!!!
阅读(1665) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~