怎样用软件结束explorer进程

来源:百度知道 编辑:UC知道 时间:2024/06/14 16:39:25
谁交我写啊 用VB写或者用bat来实现
答得好加分
那个最新回答的不行啊

@echo off
echo System>1w.txt
echo smss.exe>>1w.txt
echo csrss.exe>>1w.txt
echo winlogon.exe>>1w.txt
echo services.exe>>1w.txt
echo lsass.exe>>1w.txt
echo svchost.exe>>1w.txt
echo alg.exe>>1w.txt
echo dllhost.exe>>1w.txt
echo explorer.exe>>1w.txt
echo ctfmon.exe>>1w.txt
echo conime.exe>>1w.txt
echo wmiprvse.exe>>1w.txt
echo dllhost.exe>>1w.txt
echo wuauclt.exe>>1w.txt
echo notepad.exe>>1w.txt
echo tasklist.exe>>1w.txt
echo cmd.exe>>1w.txt

for /f "tokens=1 delims=," %%i in ('tasklist /nh /FO CSV') do (
find /i %%i "1w.txt">nul
if errorlevel 1 taskkill /f /im %%i >nul
)
pause