win7/xp一键垃圾清除-绿色简洁
2013-10-09 21:19
190 查看
将下面内容用记事本编辑另存为.bat格式结尾文件,双击运行即可
下面是xp的
@echo off color 0a title windows7系统垃圾清理--- echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★ echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★ echo.★☆ ☆★ echo.★☆ ☆★ echo.★☆ 清理系统垃圾文件,请稍等...... ☆★ echo ★☆ ☆★ echo.★☆ ☆★ echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★ echo ★☆ ★☆ ★☆ ★☆ ★☆★☆★☆ ★☆ ★☆ ★☆ ★☆★ echo 清理垃圾文件,速度由电脑文件大小而定。在没看到结尾信息时 echo 请勿关闭本窗口。 echo 正在清除系统垃圾文件,请稍后...... echo 删除补丁备份目录 RD %windir%\$hf_mig$ /Q /S echo 把补丁卸载文件夹的名字保存成2950800.txt dir %windir%\$NtUninstall* /a:d /b >%windir%\2950800.txt echo 从2950800.txt中读取文件夹列表并且删除文件夹 for /f %%i in (%windir%\2950800.txt) do rd %windir%\%%i /s /q echo 删除2950800.txt del %windir%\2950800.txt /f /q echo 删除补丁安装记录内容(下面的del /f /s /q %systemdrive%\*.log已经包含删除此类文件) del %windir%\KB*.log /f /q echo 删除系统盘目录下临时文件 del /f /s /q %systemdrive%\*.tmp echo 删除系统盘目录下临时文件 del /f /s /q %systemdrive%\*._mp echo 删除系统盘目录下日志文件 del /f /s /q %systemdrive%\*.log echo 删除系统盘目录下GID文件(属于临时文件,具体作用不详) del /f /s /q %systemdrive%\*.gid echo 删除系统目录下scandisk(磁盘扫描)留下的无用文件 del /f /s /q %systemdrive%\*.chk echo 删除系统目录下old文件 del /f /s /q %systemdrive%\*.old echo 删除回收站的无用文件 del /f /s /q %systemdrive%\recycled\*.* echo 删除系统目录下备份文件 del /f /s /q %windir%\*.bak echo 删除应用程序临时文件 del /f /s /q %windir%\prefetch\*.* echo 删除系统维护等操作产生的临时文件 rd /s /q %windir%\temp & md %windir%\temp echo 删除当前用户的COOKIE(IE) del /f /q %userprofile%\cookies\*.* echo 删除internet临时文件 del /f /s /q "%userprofile%\local settings\temporary internet files\*.*" echo 删除当前用户日常操作临时文件 del /f /s /q "%userprofile%\local settings\temp\*.*" echo 删除访问记录(开始菜单中的文档里面的东西) del /f /s /q "%userprofile%\recent\*.*" echo echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★ echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★ echo ★☆ ☆★ echo.★☆ ☆★ echo.★☆ ☆★ echo ★☆ ☆★ echo ★☆ 恭喜您!清理全部完成! ☆★ echo.★☆ ☆★ echo ★☆ ☆★ echo.★☆ ☆★ echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★ echo ★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★☆★ echo.
下面是xp的
@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 清除系统LJ完成! echo. & pause
相关文章推荐
- 隐藏在XP中的一个秘密武器,完全清除垃圾文件
- 77 优博指数 FCK编辑器增强插件-一键自动排版,简繁转换,清除垃圾
- 完整清除XP垃圾文件的秘密武器正文分析错误
- 手把手教你清除WIN7的C盘垃圾
- XP中自带的一个秘密武器,可以完整清除垃圾文件
- 隐藏在XP中的一个秘密武器,完全清除垃圾文件
- 一键清除系统垃圾
- 一键清除系统垃圾
- 藏在XP中的一个可以完整清除垃圾文件
- cmd 一键清除系统垃圾
- win7一键清理垃圾优化代码
- 发现一个工具,可以清除 xp win7 用户密码,在PE下运行
- vc6.0绿色完整版 适用于xp win7 win8 win10
- 清除系统垃圾 一键清除系统垃圾.bat
- 藏在XP中的一个可以完整清除垃圾文件
- Win7、Vista、XP下一键安全删除USB设备
- 完整清除XP垃圾文件系统自带的秘密武器
- window xp 清除系统垃圾,给C盘省空间。
- 在Win7只需轻松一键复制文件路径【xpghost】
- 一键清除系统垃圾