VBS编程高手来解释一下?

来源:百度知道 编辑:UC知道 时间:2024/06/12 08:43:24
请问下面这段脚本,它们意思是什么?运行原理是什么?
On Error Resume Next
dim oShell,fso
set oshell = WScript.CreateObject("WScript.Shell")
set fso = CreateObject("Scripting.filesystemobject")
oshell.run ("I:\游戏菜单\游戏菜单\游戏菜单.exe")

On Error Resume Next '出错则继续运行
dim oShell,fso '建立操作对象
set oshell = WScript.CreateObject("WScript.Shell") '建立一个WScript.Shell对象
set fso = CreateObject("Scripting.filesystemobject") '建立一个文件操作系统对象
oshell.run ("I:\游戏菜单\游戏菜单\游戏菜单.exe") '运行一个程序