zoukankan      html  css  js  c++  java
  • Win垃圾清理.bat

    Win垃圾清理.bat

    @echo off 
    color 0b
    echo ==正在清除系统垃圾文件,请稍后...... 
    echo ==在程序没有结束的信息时,请勿关闭本窗口
    echo ==1.
    echo ==删除临时文件
    del /f /s /q %systemdrive%*.tmp 
    del /f /s /q %systemdrive%*._mp 
    rd /s /q %windir%	emp & md %windir%	emp
    del /f /s /q "%userprofile%local settings	emp*.*" 
    del /f /s /q %windir%prefetch*.* 
    echo ==2.
    echo ==删除日志文件
    echo ==删除帮助索引文件
    echo ==删除磁盘扫描留下的临时文件
    echo ==删除备份文件
    echo ==删除旧备份文件
    del /f /s /q %systemdrive%*.log
    del /f /s /q %systemdrive%*.gid 
    del /f /s /q %systemdrive%*.chk 
    del /f /s /q %windir%*.bak 
    del /f /s /q %systemdrive%*.old 
    ::echo ==3.
    ::echo ==清空回收站
    ::del /f /s /q c:$recycle.bin*.*
    ::del /f /s /q d:$recycle.bin*.*
    ::del /f /s /q e:$recycle.bin*.*
    ::del /f /s /q f:$recycle.bin*.*
    ::del /f /s /q g:$recycle.bin*.*
    echo ==4.
    echo ==删除自动更新后留下的软件
    rd /s /q %windir%SoftwareDistributionDownload & md %windir%SoftwareDistributionDownload
    ::echo ==5.
    ::echo ==删除上网产生的Cookies
    ::del /f /q "%userprofile%AppDataRoamingMicrosoftWindowsCookies*.*"
    ::echo ==6.
    ::echo ==删除上网产生的临时文件
    ::del /f /s /q "%userprofile%AppDataLocalMicrosoftWindowsTemporary Internet Files*.*"
    echo ==7.
    echo ==运行私隐保护
    del /f /s /q "%userprofile%AppDataRoamingMicrosoftWindowsRecent*.*" 
    echo 已清理完成!          
    echo. & pause
    
  • 相关阅读:
    luogu P3168 [CQOI2015]任务查询系统
    luogu P2633 Count on a tree
    c++小游戏:洛谷彩票
    UVA514 铁轨 Rails:题解
    SP1805 HISTOGRA
    洛谷 P4363 [九省联考2018]一双木棋chess 题解
    比赛:大奔的方案solution
    【CYH-02】NOIp考砸后虐题赛:数学:题解
    【CYH-02】NOIp考砸后虐题赛:坐标:题解
    【CYH-02】NOIp考砸后虐题赛:转换式:题解
  • 原文地址:https://www.cnblogs.com/kingBook/p/14078966.html
Copyright © 2011-2022 走看看