这段vbs代码在xp上可以用,win7上怎么不能用了?
setws=createobject("wscript.shell")setfso=createobject("scripting.filesystemobject")p...
set ws=createobject("wscript.shell")
set fso=createobject("scripting.filesystemobject")
p=ws.regread("HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\QQ2009\install")
ws.run "taskkill /f /im qq.exe",0
set f=fso.getfile(p&"\Plugin\Com.Tencent.Advertisement\bin\Advertisement.dll")
f.attributes=1
wscript.sleep 3000
msgbox "恭喜您!设置成功!" 展开
set fso=createobject("scripting.filesystemobject")
p=ws.regread("HKEY_LOCAL_MACHINE\SOFTWARE\Tencent\QQ2009\install")
ws.run "taskkill /f /im qq.exe",0
set f=fso.getfile(p&"\Plugin\Com.Tencent.Advertisement\bin\Advertisement.dll")
f.attributes=1
wscript.sleep 3000
msgbox "恭喜您!设置成功!" 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询