复制内容到剪贴板
代码:
@echo off
echo 屏蔽QQ自动生成的不必要文件.
if exist "%APPDATA%\Tencent\IM" (rd /q /s "%APPDATA%\Tencent\IM") else (del /f /s /q "%APPDATA%\Tencent\IM")
@cd.>"%APPDATA%\Tencent\IM"
echo 屏蔽QQ自动升级文件
for /r "%APPDATA%\Tencent\QQ\AuTemp" %%i in (AUStat.ini) do (set a=%%i)
if exist "%a%" (del /f /s /q "%a%")
echo [STAT] >> "%a%"
echo Flag5=0 >> "%a%"
echo Flag3=0 >> "%a%"
echo y|cacls "%a%" /p everyone:r
echo 屏蔽QQ群相册快照临时文件
if exist "%APPDATA%\Tencent\QQ\Misc\GroupAlbumSnapshot" (rd /q /s "%APPDATA%\Tencent\QQ\Misc\GroupAlbumSnapshot") else (del /f /s /q "%APPDATA%\Tencent\QQ\Misc\GroupAlbumSnapshot")
@cd.>"%APPDATA%\Tencent\QQ\Misc\GroupAlbumSnapshot"
echo 屏蔽QQ祈福之类小图标
if exist "%APPDATA%\Tencent\QQ\Misc\LNN" (rd /q /s "%APPDATA%\Tencent\QQ\Misc\LNN") else (del /f /s /q "%APPDATA%\Tencent\QQ\Misc\LNN")
@cd.>"%APPDATA%\Tencent\QQ\Misc\LNN"
echo 屏蔽登陆界面节日
if exist "%APPDATA%\Tencent\QQ\Misc\MainMenu" (rd /q /s "%APPDATA%\Tencent\QQ\Misc\MainMenu") else (del /f /s /q "%APPDATA%\Tencent\QQ\Misc\MainMenu")
@cd.>"%APPDATA%\Tencent\QQ\Misc\MainMenu"
echo 屏蔽QQ群直播图标
if exist "%APPDATA%\Tencent\QQ\Misc\GTB_Icons" (rd /q /s "%APPDATA%\Tencent\QQ\Misc\GTB_Icons") else (del /f /s /q "%APPDATA%\Tencent\QQ\Misc\GTB_Icons")
@cd.>"%APPDATA%\Tencent\QQ\Misc\GTB_Icons"
echo 屏蔽QQ群页面
if exist "%APPDATA%\Tencent\QQ\Temp\gm" (rd /q /s "%APPDATA%\Tencent\QQ\Temp\gm") else (del /f /s /q "%APPDATA%\Tencent\QQ\Temp\gm")
if exist "%APPDATA%\Tencent\QQ\Misc\GMF" (rd /q /s "%APPDATA%\Tencent\QQ\Misc\GMF") else (del /f /s /q "%APPDATA%\Tencent\QQ\Misc\GMF")
@cd.>"%APPDATA%\Tencent\QQ\Misc\GMF"
echo 屏蔽QQ安全扫描
if exist "%APPDATA%\Tencent\QQ\SafeBase" (rd /q /s "%APPDATA%\Tencent\QQ\SafeBase") else (del /f /s /q "%APPDATA%\Tencent\QQ\SafeBase")
@cd.>"%APPDATA%\Tencent\QQ\SafeBase"
if exist "%APPDATA%\Tencent\QQDoctor" (rd /q /s "%APPDATA%\Tencent\QQDoctor") else (del /f /s /q "%APPDATA%\Tencent\QQDoctor")
@cd.>"%APPDATA%\Tencent\QQDoctor"
if exist "%temp%\*.exe" del /f /s /q "%temp%\*.exe"
@cd.>"%temp%\qqsafeud.exe"
echo y|cacls "%temp%\qqsafeud.exe" /d everyone
if exist "%temp%\*.tsd" del /f /s /q "%temp%\*.tsd "
@cd.>"%temp%\tf000001.tsd
echo y|cacls "%temp%\tf000001.tsd" /d everyone
@cd.>"%temp%\tm000001.tsd"
echo y|cacls "%temp%\tm000001.tsd" /d everyone
if exist "%temp%\*.dat" del /f /s /q "%temp%\*.dat"
@cd.>"%temp%\tseh.dat"
echo y|cacls "%temp%\tseh.dat" /d everyone
@cd.>"%temp%\tsehres.dat"
echo y|cacls "%temp%\tsehres.dat" /d everyone
@cd.>"%temp%\tseloder.dat"
echo y|cacls "%temp%\tseloder.dat" /d everyone
@cd.>"%temp%\tsengine.dat"
echo y|cacls "%temp%\tsengine.dat" /d everyone
@cd.>"%temp%\tssafeedit.dat"
echo y|cacls "%temp%\tssafeedit.dat" /d everyone
@cd.>"%temp%\tsepb.dat"
echo y|cacls "%temp%\tsepb.dat" /d everyone
@cd.>"%temp%\tsvulengine.dat"
echo y|cacls "%temp%\tsvulengine.dat" /d everyone
@cd.>"%temp%\tsvulinc.dat"
echo y|cacls "%temp%\tsvulinc.dat" /d everyone
if exist "%temp%\*.tvl" del /f /s /q "%temp%\*.tvl"
@cd.>"%temp%\tvl00000.tvl"
echo y|cacls "%temp%\tvl00000.tvl" /d everyone
@cd.>"%temp%\tvl00001.tvl"