禁止QQ上網(wǎng)的vbs腳本代碼
更新時間:2008年06月04日 08:37:55 作者:
用vbs查找系統(tǒng)進程,發(fā)現(xiàn)qq的進程則殺掉就是這段代碼的原理
dim bag,pipe,honker,good
do
good="."
set bag=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=bag.execquery("select * from win32_process where name='QQ.exe'")
for each i in pipe
i.terminate()
next
wscript.sleep 1
loop
do
good="."
set bag=getobject("winmgmts:\\"&good&"\root\cimv2")
set pipe=bag.execquery("select * from win32_process where name='QQ.exe'")
for each i in pipe
i.terminate()
next
wscript.sleep 1
loop
相關(guān)文章
Dynamic Activity Window動態(tài)活動窗口vbs
Dynamic Activity Window動態(tài)活動窗口2008-12-12WScript.Shell對象SpecialFolders屬性未公開文檔分享
WshShell對象的SpecialFolders屬性返WshSpecialFolders 對象,該對象是一個特殊文件夾集合,其中包含整套Windows特殊文件夾2013-01-01vbs,hta中選擇文件夾對話框?qū)崿F(xiàn)代碼
在vbs中選擇文件夾可以直接調(diào)用系統(tǒng)的文件夾對話框2009-08-08