批处理之家's Archiver

lovekix 发表于 2021-6-4 16:47

英雄联盟 多余文件清理的BAT脚本

我自己  用的

有很多  不足的 地方 请大家补充[code]@ ECHO OFF
del /s/q "D:\League of Legends\log\*.log"
del /s/q "D:\League of Legends\Logs\Maestro Logs\*.log"
del /s/q "D:\League of Legends\TCLS\ALog\*.log"
del /s/q "D:\League of Legends\Air\log\*.log"
del /s/q "D:\League of Legends\Air\logs\*.log"
del /s/q "D:\League of Legends\Cross\log\*.log"
del /s/q "D:\League of Legends\Cross\Logs\*.log"
del /s/q "D:\League of Legends\Game\*.log"
del /s/q "D:\League of Legends\Game\Logs\Maestro Logs\*.log"
del /s/q "D:\League of Legends\TCLS\tlog\*.log"

del /s/q "D:\League of Legends\Game\Logs\Network Logs\*.txt"
del /s/q "D:\League of Legends\TCLS\tlog\*.txt"
del /s/q "D:\League of Legends\Game\Logs\Game - R3d Logs\*.txt"
del /s/q "D:\League of Legends\TCLS\patchs\*.*"

rd /S /Q "D:\League of Legends\Cross"
rd /S /Q "D:\League of Legends\LeagueClient\TQM"
rd /S /Q "D:\League of Legends\TCLS\TenProtect"
rd /S /Q "D:\WeGame\tgppatches"
rd /S /Q "D:\League of Legends\Game\Logs"
rd /S /Q "D:\League of Legends\Riot Client\log"
rd /S /Q "D:\League of Legends\WeGameLauncher\log"
rd /S /Q "D:\League of Legends\Riot Client Data\User Data\Logs"

rd /S /Q "D:\League of Legends\WeGameLauncher\log"
rd /S /Q "D:\League of Legends\Game\Logs"
rd /S /Q "D:\WeGame\log"
rd /S /Q "D:\WeGame\apps\Rail\GameLinker\GameHost\logs"
rd /S /Q "D:\WeGame\TLog"
rd /S /Q "D:\WeGame\tcls\TLog"


rd /S /Q "D:\WeGame\apps\Pallas\log"
rd /S /Q "D:\WeGame\tcls\Tenio\TenioDL\Logs"
rd /S /Q "D:\WeGame\apps\Rail\log"
rd /S /Q "D:\WeGame\log\tcls\log"
rd /S /Q "D:\WeGame\apps\Cross\Log"

rd /S /Q "D:\League of Legends\LeagueClient\NetworkAssist"

rd /S /Q "D:\League of Legends\Game\Cookies"
rd /S /Q "D:\League of Legends\Riot Client Data"
rd /S /Q "D:\WeGame\config_backup"
rd /S /Q "D:\WeGame\tcls\UIShellRes"
rd /S /Q "D:\WeGame\apps\CF"
rd /S /Q "D:\WeGame\apps\dalong_client"
rd /S /Q "D:\WeGame\apps\DNF"
rd /S /Q "D:\WeGame\apps\start_client"
rd /S /Q "D:\WeGame\apps\tencent_cloud"
rd /S /Q "D:\WeGame\apps\WeGamePlayer"
rem 删除后没有对局信息D:\WeGame\apps\Cross\Apps"

rd /S /Q "D:\WeGame\apps\Cross\Log"

rd /S /Q "D:\WeGame\acceleration"
rd /S /Q "D:\WeGame\cachedata"
rd /S /Q "D:\WeGame\client_config"

rd /S /Q "D:\WeGame\crash_x64"
rd /S /Q "D:\WeGame\qbblink"









cls

pushd D:\League of Legends
for /f "delims=" %%a in ('dir /b /s /ad^|findstr "2021"') do rd /s /q "%%a"
for /f "delims=" %%i in ('dir /b /s /a-d^|findstr "2021"') do del /a /f /q "%%i"

PAUSE     
exit
[/code]

页: [1]

Powered by Discuz! Archiver 7.2  © 2001-2009 Comsenz Inc.