打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
WIN7 垃圾清理

将以下程序复制并粘贴到记事本,以后辍".bat“保存。

@echo off
Title W18H WIN7 垃圾清理
color 0a
mode con cols=55 lines=16
echo.
echo.
echo.
echo 珣仔WIN7垃圾清理
echo.
echo.
echo.
echo 按任意键开始清理垃圾文件......
echo.
pause>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理Tmp文件....
echo.
attrib -r -a -s -h "%systemdrive%\*.tmp" /d /s>nul 2>nul
attrib -r -a -s -h "%systemdrive%\*._mp" /d /s>nul 2>nul
del /f /s /q "%systemdrive%\*.tmp">nul 2>nul
del /f /s /q "%systemdrive%\*._mp">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理日志文件....
echo.
attrib -r -a -s -h "%systemdrive%\*.log" /d /s>nul 2>nul
del /f /s /q "%systemdrive%\*.log">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理Gid文件....
echo.
attrib -r -a -s -h "%systemdrive%\*.gid" /d /s>nul 2>nul
del /f /s /q "%systemdrive%\*.gid">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理Chk文件....
echo.
attrib -r -a -s -h "%systemdrive%\*.chk" /d /s>nul 2>nul
del /f /s /q "%systemdrive%\*.chk">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理Old文件....
echo.
attrib -r -a -s -h "%systemdrive%\*.old" /d /s>nul 2>nul
del /f /s /q "%systemdrive%\*.old">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理回收站....
echo.
attrib -r -a -s -h "%systemdrive%\recycled\*.*" /d /s>nul 2>nul
del /f /s /q "%systemdrive%\recycled\*.*">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理备份文件....
echo.
attrib -r -a -s -h "%windir%\*.bak" /d /s>nul 2>nul
del /f /s /q "%windir%\*.bak">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理文件使用痕迹....
echo.
attrib -r -a -s -h "%windir%\prefetch\*.pf" /d /s>nul 2>nul
del /f /s /q "%windir%\prefetch\*.pf">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理Cookies文件....
echo.
attrib -r -a -s -h "%userprofile%\cookies\*.*" /d /s>nul 2>nul
del /f /q "%userprofile%\cookies\*.*">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理上网产生的临时文件....
echo.
attrib -r -a -s -h "%userprofile%\Local Settings\Temporary Internet Files\*.*" /d /s>nul 2>nul
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理临时文件....
echo.
attrib -r -a -s -h "%userprofile%\Local Settings\Temp\*.*" /d /s>nul 2>nul
del /f /s /q "%userprofile%\Local Settings\Temp\*.*">nul 2>nul
cls
echo.
echo.
echo.
echo.
echo 正在清理用户历史文件....
echo.
attrib -r -a -s -h "%userprofile%\recent\*.*" /d /s>nul 2>nul
del /f /s /q "%userprofile%\recent\*.*">nul 2>nul
cls
echo.
echo.
echo.
echo 清理系统垃圾完成!
echo.
echo.
echo.
echo 按任意键退出......
pause>nul
exit

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
恢复硬盘盘符图标
利用VMware虚拟机学做GHOSTXP(三)
超级木马
这些自动化场景,批处理脚本完全可以取代 Python
Dos 命令进阶(三)---批处理(上)
安全清除C盘垃圾
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服