zoukankan      html  css  js  c++  java
  • Windows 10 清除文件

    C:WindowsSoftwareDistributionDownload

    @echo off
    echo 专门为windows10而写,因而更专业!按任意键清理您的系统垃圾!
    echo                       清理C盘
    
    set /p input=请选择(1)清理系统垃圾(2)专清腾讯垃圾(3)直接退出
    
    if "%input%"=="1" goto one
    if "%input%"=="2" goto two
    if "%input%"=="3" goto three
    
    :one 
    del /f /s /q "%userprofile%AppDataLocalTemp*.*"
    del /f /s /q "%userprofile%AppDataLocalMicrosoftWindowsINetCacheIE*.*"
    del /f /s /q "%windir%Offline Web Pages*.*"
    del /f /s /q "%userprofile%AppDataLocalSteamhtmlcache*.*"
    del /f /s /q "%systemdrive%*.old" 
    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 "%windir%SoftwareDistributiondownload*.*"
    del /f /s /q "%windir%Prefetch*.*"
    del /f /s /q "%userprofile%AppDataLocalMicrosoftWindowsINetCookies*.*"
    del /f /s /q "%userprofile%AppDataLocalMicrosoftWindowsINetCookiesLow*.*"
    pause&echo 系统垃圾清理完毕
    exit
    
    :two
    TASKKILL /f /IM "Tencent TenioDL for Game.exe" 
    TASKKILL /f /IM "QQMicroGameBoxTray.exe" 
    TASKKILL /f /IM "QQMicroGameBoxService.exe" 
    del /f /s /q "%userprofile%AppDataRoamingTencentQQMGBDownload*.*"
    del /f /s /q "%userprofile%AppDataLocalTencentCross*.*"
    del /f /s /q "%userprofile%AppDataRoamingTencentQQMicroGameBox*.*"
    del /f /s /q "%userprofile%AppDataRoamingTencentQQMiniGameBox*.*"
    del /f /s /q "%userprofile%AppDataRoamingTencentQQMiniDL*.*"
    del /f /s /q "%userprofile%AppDataRoamingTencent游戏人生cross*.*"
    del /f /s /q "%userprofile%AppDataLocalTencentQQPet*.*"
    del /f /s /q "%systemdrive%Program Files (x86)TencentQQMicroGameBoxService*.*"
    del /f /s /q "%userprofile%RoamingTencentLogs*.*"
    del /f /s /q "%userprofile%AppDataRoamingTencentQQGAMETempestDownload*.*"
    del /f /s /q "%userprofile%AppDataRoamingTencentQQTemp*.*"
    
    pause&echo 腾讯垃圾清理完毕
    exit
    
    :three
    exit
  • 相关阅读:
    js-数组的原型拓展
    java-单例模式的java连接池
    java-基本数据类型值范围
    rabbitmq
    从哪跌倒从哪爬起,千里之行始于足下
    create python project steps
    常用代码片段
    shell脚本常用(记)
    shell学习
    maven工具使用
  • 原文地址:https://www.cnblogs.com/xiaoruilin/p/15403267.html
Copyright © 2011-2022 走看看