MSCExec Component控件

时间:2009-01-18 03:52:36
【文件属性】:

文件名称:MSCExec Component控件

文件大小:688KB

文件格式:EXE

更新时间:2009-01-18 03:52:36

下载 其它类控件 控件 资源


MSCExec Component控件 允许你访问OS命令或从你的脚本中launch应用软件的权利。你可以设置访问参数和核查结果。

创建component,使用以下指令: JScript: var obj = Server.CreateObject("Miraplacid.MSCExec"); VBScript: set obj = Server.CreateObject("Miraplacid.MSCExec") object参考:

方法 参数 返回值 描述 系统 字符串 cmd Long 用指定的cmd访问OS命令和返回值返回系统 执行 字符串 cmd String 用提供的参数开始指定的应用软件。返回带有stdout和stderr值的字符串。命令行有路径到应用软件和cmd提供的参数。 ExecuteEx 字符串 cmd,
字符串 in MSCExecResult Extended应用访问。命令行有路径到应用软件和cmd提供的参数。

MSCExecResult辅助的object

MSCExecResult是用来存储ExecuteEx方法的结果(MSCExec object)。有3种方法从stdout, stderr和程序退出代码中访问数据。

MSCExecResult object参考:

属性 类型 描述 Stdout String 从程序的stdout中得到数据 Stderr String 从程序的stderr中得到数据 RetVal Long 得到程序退出代码


网友评论