如何 退出ThunderPlatform.exe进程

来源:互联网 发布:淘宝现在改版了吗 编辑:程序博客网 时间:2024/06/06 07:30

1.退出迅雷
2.停止迅雷服务:XLServicePlatform,关改为手动
3.找到文件C:\Program Files (x86)\Common Files\Thunder Network\ServicePlatform\XLSP.dll,将里面内容清空
注:第2步如果不停止此服务,第3步保存时,会提示占用
XLServicePlatform服务就算改成手动,下次启动迅雷,还是会变成自动,所以要执行第3步

下面是自己现学现卖写的bat

将下面代码保存成.bat的文件执行就可以了
@echo off

tasklist /nh|find /i “Thunder.exe”
if ERRORLEVEL 1 (echo “迅雷没启动!!!”) else (taskkill /f /im Thunder.exe)
tasklist /nh|find /i “TXPlatform.exe”
if ERRORLEVEL 1 (echo “TXPlatform.exe没启动!!!”) else (taskkill /f /im TXPlatform.exe)

echo 设置XLServicePlatform服务为手动
sc config XLServicePlatform start= DEMAND

echo 停止XLServicePlatform服务
net stop XLServicePlatform

echo 清空xlsp.dll内容
cd C:\Program Files (x86)\Common Files\Thunder Network\ServicePlatform
cd.>XLSP.dll
echo 按任意键退出……
pause>nul

0 0
原创粉丝点击