技术讨论:电脑C盘越来越大怎么办?不知道哪些能删除?

    我听到好多网友在说电脑用久了,电脑的C盘就特别臃肿 运行起来越来越慢
    当初我在大学的时候写了一点小代码,希望可以帮到大家
    首先 在电脑上右键——新建一个TXT文档——名字改为:清除系统.txt
    打开后,复制下面的代码:
    @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文章源自技术奇点-https://www.xerer.com/archives/25047.html

    技术讨论:电脑C盘越来越大怎么办?不知道哪些能删除? 技术讨论:电脑C盘越来越大怎么办?不知道哪些能删除?
    -------------------------------------------------我是分割线-------------------------
    然后点击保存 退出。重命名:把清除系统.txt后缀txt 改为bat
    回车 大功告成 然后双击运行即可。运行完了 你看看你的C盘是不是清空了很多。
    拿走不谢 哈哈哈文章源自技术奇点-https://www.xerer.com/archives/25047.html

    文章源自技术奇点-https://www.xerer.com/archives/25047.html

    weinxin
    微信公众号
    扫码关注公众号获取资源下载及吃瓜爆料
    • 本文由 发表于 2018/05/2323:57:29

    发表评论

    匿名网友