QQ 音乐 P2P 缓存清理

QQ 音乐 P2P 缓存清理

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
@echo off
set "targetPath=C:\Users\lynx\AppData\Roaming\Tencent\QQMusic\QQMusicCache\downloadproxyNew\tp2p\.tpfs"
set "processName=QQMusic.exe"

echo Killing process: %processName%
taskkill /F /IM "%processName%"

if exist "%targetPath%" (
    echo Deleting directory: %targetPath%
    rmdir /s /q "%targetPath%"
    echo Directory deleted.
) else (
    echo Directory not found: %targetPath%
)
Licensed under CC BY-NC-SA 4.0
使用 Hugo 构建
主题 StackJimmy 设计