Vbscript ClassFactory无法提供请求的类-WScript.CreateObject(“WScript.Shell”)

Vbscript ClassFactory无法提供请求的类-WScript.CreateObject(“WScript.Shell”),vbscript,Vbscript,在以下代码上运行代码行WScript.CreateObjectWScript.Shell时,出现错误xpto.vbs2,1 ClassFactory无法提供请求的类: Dim oShell Set oShell = WScript.CreateObject ("WScript.Shell") oShell.run "cmd /K CD C:\ & Dir" Set oShell = Nothing 我在windows2000操作系统上安装了5.1版vbscript 有人能帮我吗?我想安

在以下代码上运行代码行WScript.CreateObjectWScript.Shell时,出现错误xpto.vbs2,1 ClassFactory无法提供请求的类:

Dim oShell
Set oShell = WScript.CreateObject ("WScript.Shell")
oShell.run "cmd /K CD C:\ & Dir"
Set oShell = Nothing
我在windows2000操作系统上安装了5.1版vbscript


有人能帮我吗?

我想安装Windows脚本5.6: