Set SHApp = CreateObject("Shell.Application") For Each SHWin In SHApp.Windows If LCase(Right(SHWin.FullName, 12)) = "iexplore.exe" Then If InStr(SHWin.LocationName,"开心网")>0 Then SHWin.Quit() End If End if Next 运行这断代码时,如果IE 有个弹出框 就无法正常关闭,有没有直接KILL掉进程的方法?