以下内容写入TXT文档中在把后缀名修改为BAT,运行下就可以
记得是在DNF开启以后才运行,否则会提示找不到该进程 - -
@Echo off
Taskkill /F /IM Tencentdl.exe
Taskkill /F /IM TenSafe.exe
Taskkill /F /IM TenSafe.exe_1
Taskkill /F /IM TXPlatform.exe
Taskkill /F /IM Explorer.exe
start Explorer.exe
echo 正在清除系统垃圾文件,请稍等......
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 %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefe*****.*
** /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
del /f /s /q "%userprofile%\recent\*.*"
echo 清除系统LJ完成,请按任意键退出
echo. & pause