|
本帖最后由 窄口牛 于 2024-11-16 07:57 编辑
关于QQ的是纯个人操作,不是通用,操作前了解一下。
有些只能离线操作,在系统里是做不到的,离线操作就要对准你的形态分区了。
@echo off
Setlocal enabledelayedexpansion
reg query HKU\S-1-5-20>nul || echo;CreateObject^("Shell.Application"^).ShellExecute "%~f0", "", "", "runas", 1 > "%temp%\getadmin.vbs" && cscript //b "%temp%\getadmin.vbs" && exit /b & del "%temp%\getadmin.vbs" /f /q>nul 2>nul
pushd "%CD%"&& CD /D "%~dp0"
taskkill /im explorer.exe /f
rd C:\Users\Administrator\AppData\Local\Temp /s /q
mklink /d C:\Users\Administrator\AppData\Local\Temp x:\temp
rd C:\Users\Administrator\AppData\Local\Microsoft\Windows\Explorer /s /q
mklink /d C:\Users\Administrator\AppData\Local\Microsoft\Windows\Explorer X:\windows\Explorer
rd "C:\Users\Administrator\AppData\Local\Microsoft\Windows\Temporary Internet Files" /s /q
mklink /d "C:\Users\Administrator\AppData\Local\Microsoft\Windows\Temporary Internet Files" "X:\Temp\Temporary Internet Files"
rd "C:\Users\Administrator\Documents\Tencent Files\我的qq号\Audio" /s /q
mklink /d "C:\Users\Administrator\Documents\Tencent Files\我的qq号\Audio" X:\temp
rd "C:\Users\Administrator\Documents\Tencent Files\我的qq号\Image" /s /q
mklink /d "C:\Users\Administrator\Documents\Tencent Files\我的qq号\Image" x:\temp
rd "C:\Users\Administrator\Documents\Tencent Files\我的qq号\Video" /s /q
mklink /d "C:\Users\Administrator\Documents\Tencent Files\我的qq号\Video" x:\temp
rd "C:\Users\Administrator\Documents\Tencent Files\我的qq号\FileRecv\MobileFile" /s /q
mklink /d "C:\Users\Administrator\Documents\Tencent Files\我的qq号\FileRecv\MobileFile" X:\临时文件
rd C:\Windows\Logs /s /q
mklink /d C:\Windows\Logs x:\logs
del C:\Windows\PFRO.log /s
mklink C:\Windows\PFRO.log C:\Windows\Logs\PFRO.log
rd C:\Windows\Prefetch /s /q
mklink /d C:\Windows\Prefetch x:\Windows\Prefetch
del C:\Windows\setuperr.log /s
mklink C:\Windows\setuperr.log C:\windows\Logs\setuperr.log
del C:\Windows\setupact.log /s
mklink C:\Windows\setupact.log C:\windows\Logs\setupact.log
del "C:\Windows\inf\setupapi.app.log" /s
mklink "C:\Windows\inf\setupapi.app.log" C:\windows\Logs\setupapi.app.log
del "C:\Windows\inf\setupapi.dev.log" /s
mklink "C:\Windows\inf\setupapi.dev.log" C:\windows\Logs\setupapi.dev.log
del "C:\Windows\inf\setupapi.offline.log" /s
mklink "C:\Windows\inf\setupapi.offline.log" C:\windows\Logs\setupapi.offline.log
rd C:\Windows\temp /s /q
mklink /d C:\Windows\temp x:\temp
rd C:\Windows\ServiceProfiles\LocalService\AppData\Local /s /q
mklink /d C:\Windows\ServiceProfiles\LocalService\AppData\Local X:\windows\Local
rd C:\Windows\System32\winevt\Logs /s /q
mklink /d C:\Windows\System32\winevt\Logs X:\Logs
pause>nul
建立链接.rar
(761 Bytes, 下载次数: 1)
|
|