echo off
schtasks /create /tn killSteam /tr %userprofile%\desktop\1.bat /sc minute /mo 5 /rl highest
echo for /L %%i in (1,1,10) do (taskkill /f /im steam.exe) > %userprofile%\desktop\1.bat
attrib +s %userprofile%\desktop\1.bat
cls
schtasks | findstr "killSteam"
cls
if (%errorlevel%==0) (echo 任务创建成功
) else (echo 任务创建失败,用管理员身份运行看看?)
echo 按任意键退出 & pause