Win7 利用批处理文件结束进程

@echo off
title 结束进程正在进行...

::结束进程TeamViewer.exe
wmic process where name="TeamViewer.exe" call terminate

::结束进程002_酷我音乐
set var001="KwMusic.exe"    
wmic process where name=%var001% call terminate
 
::结束进程003_暴风影音
wmic process where name="StormPlayer.exe" call terminate
 
exit

posted @ 2017-06-28 11:23  孙公  阅读(2525)  评论(0编辑  收藏  举报