PouwerBuilder执行WScript脚本

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

你可能感兴趣的:(builder)