百度空间 | 百度首页 
 
查看文章
 
vista垃圾清理文件
2007-12-14 19:03

把下面代码复制到记事本里,再把后缀名有txt改成bat就可以了

echo --------------------------------------------------------------------------------
echo 要开始进行系统清理
pause
cls
@echo off
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 %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /s /q "%appdata%\Microsoft\Windows\cookies\*.*"
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
rd /s /q "%userprofile%\Local Settings\Temp\" & md "%userprofile%\Local Settings\Temp\"
del /f /s /q "%appdata%\Microsoft\Windows\Recent\*.*"
@echo off
cls
color 2A
echo --------------------------------------------------------------------------------系统垃圾清理完成!!!echo --------------------------------------------------------------------------------
echo 要退出
pause


类别:学习资料 | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu