返回

帖子

发帖

电脑端清理垃圾文件教程

  • 几家欢乐几家愁
  • 发表在综合技术教程 1931回复

    囿奖励:2000金币

    【教程开始】

    一、文件代码:

    @ 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 s\*.*
    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\*.*”
    sfc /purgecache ’清理系统盘无用文件
    defrag %systemdrive% -b ’优化预读信息
    echo 清除系统LJ完成!
    echo. & pause

    将此内容使用记事本保存格式为.bat,文件类型:Windows 批处理文件,完后双击保存后的文件图标(为双齿轮),开始清理系统垃圾;

    二、清理后如图:
    .

    三、清理执行完后点击任意字母键等结束关闭。

    备注
    文件代码可下载附件:https://yousat.wodemo.net/file/487334

    【教程结束】
    嗨!检测到您当前没有登录,请登录后浏览更多信息哦~
    返回顶部