【发布时间】:2010-01-05 16:36:33
【问题描述】:
当我在以下代码上运行代码行“WScript.CreateObject("WScript.Shell")”时,出现错误“xpto.vbs(2, 1) ClassFactory cannot supply requested class”:
Dim oShell
Set oShell = WScript.CreateObject ("WScript.Shell")
oShell.run "cmd /K CD C:\ & Dir"
Set oShell = Nothing
我在 windows2000 操作系统上安装了 vbscript 5.1 版
有人可以帮我吗?
【问题讨论】:
标签: vbscript