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
  • 相关阅读:
    k8s网络策略
    二进制部署Kubernetes
    宿主机的命令在容器中使用
    高可用示例
    企业级高可用Harbor 2.3
    openstack常用shell脚本
    shell实现jumpserver
    我曾七次鄙视自己的灵魂
    queue容器适配器模拟超市结账环节
    stack容器适配器实现计算器(含实现代码)
  • 原文地址:https://www.cnblogs.com/xiaoruilin/p/15403267.html
Copyright © 2011-2022 走看看