oleobject WshShell WshShell = create oleobject WshShell.connecttonewobject( "WScript.Shell") integer li_Return li_Return = WshShell.Run("cscript E:\validate.js", 1, true) messagebox("",li_return) WshShell.DisconnectObject ( ) destroy WshShell