vbscript-terminating process instance

后端 未结 1 524
说谎
说谎 2021-01-20 17:55

I\'m writing a script that runs an external program, and after a while terminates it, the relevant code section looks like this:

Set objshell=createObject(\"         


        
1条回答
  •  再見小時候
    2021-01-20 18:27

    Use WScript.Shell's .Exec method to get a WshScriptExec objects for each session/run/instance of app.exe and .Terminate them at your leisure (and risk). See Terminate Method (WshScriptExec)

    0 讨论(0)
提交回复
热议问题