vbs脚本中创建“WScript.Shell”对象出现800A01B6错误,并提示“对象不支持此属性或方法”

出错脚本:
Dim WshShell
WshShell = CreateObject("WScript.Shell")
WshShell.Run "xxx"

修改为,问题消失:
Dim WshShell
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "xxx"

语法问题!
标签: ,
WWT
2008-06-06 00:22
更专业哟。
无为而为 回复于 2008-06-07 17:33
stupid
分页: 1/1 第一页 1 最后页
发表评论   请注意:本站已经启用评论审核机制,审核通过才能显示!
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
昵称 *   
网址   电邮   [注册]
               

验证码 不区分大小写