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 @ 2020-05-18 17:26  拷贝达人  阅读(523)  评论(0编辑  收藏  举报