VBS KillExcel进程

Function KillExcelProcess()
    on error resume Next
    CreateObject("WScript.Shell").Run "taskkill /f /im excel.exe "
    CreateObject("WScript.Shell").Run "taskkill /f /im Wscript.exe"
End Function

 

posted @ 2011-06-16 00:37  Sirrah  阅读(1395)  评论(0编辑  收藏  举报