Microsoft VBScript 编译器错误,错误 '800a03ee',缺少 ')'

iuedui 2015-10-24 11:57:05
strComputer = "."
Set objWMIService = Getobject("winmgmts:" & "{impersonationLevel=impersonate}!\\"& strComputer &"\root\cimv2")
Set colOperatingSystems = objWMIService.ExecQuery("SELECT * FROM Win32_OperatingSystem"S)
For Each objOperatingSystem in colOperatingSystems
wscript.Echo "Caption;" & objOperatingSystem.Caption
wscript.Echo "Debug;" & objOperatingSystem.Debug
wscript.Echo "Version;" & objOperatingSystem.version
Next

系统提示第3行,第88个字符缺少')',到底哪里出问题了?
...全文
221 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
iuedui 2015-10-25
  • 打赏
  • 举报
回复
引用 1楼slwsss 的回复:
_OperatingSystem"S)
什么意思,就是一直提示这里少')'怎么办?
slwsss 2015-10-25
  • 打赏
  • 举报
回复
_OperatingSystem"S)

6,871

社区成员

发帖
与我相关
我的任务
社区描述
Windows 2016/2012/2008/2003/2000/NT
社区管理员
  • Windows Server社区
  • qishine
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧