End Process from Task Manager using VB 6 Code

后端 未结 8 1248
被撕碎了的回忆
被撕碎了的回忆 2021-01-13 03:14

I need to kill an application roughly so I can get phantom subscriber of that application in my database (this can not be produced by closing the application). Manually, if

8条回答
  •  隐瞒了意图╮
    2021-01-13 03:40

    Shell "taskkill.exe /f /t /im processname.exe"
    

    This forces (/f) the terminatation of the process with the image name (/im) of processname.exe, and any child processes which were started by it (/t). You may not need all these switches. See the taskkill command help for more information (type the following at the command line):

    taskkill/?
    

提交回复
热议问题