Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1489399
  • 博文数量: 226
  • 博客积分: 3997
  • 博客等级: 少校
  • 技术积分: 2369
  • 用 户 组: 普通用户
  • 注册时间: 2010-06-19 17:26
个人简介

Never save something for a special occasion. Every day in your life is a special occasion.

文章分类

全部博文(226)

文章存档

2018年(5)

2017年(11)

2016年(1)

2015年(17)

2014年(14)

2013年(30)

2012年(5)

2011年(52)

2010年(107)

分类:

2010-09-10 19:50:55

 

' Kill Lingoes
' If loop, the process Wscript.exe will live in process list. It will excute evry 1000ms, till you have to kill it by youself.

dim qobj,pipe,good
'do
good="."
set qobj=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=qobj.execquery("select * from win32_process where name='Lingoes.exe'")
for each i in pipe
    i.terminate()
next
wscript.sleep 1000
'wscript.echo "again"
'loop


阅读(1351) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~