ASP Source Code: iaspexecjs.asp
<%@ LANGUAGE=JScript %> <html> <body bgcolor="#FFFF00"> <p align="center"><img src="Hc_bird.gif" width="387" height="133"><font color="#FF00FF" size="6" ><em>iASP AspExec system</em></font></p><br> <p align="left"><font color="#000000" size="5" ><em> Execute Result:</em></font></p> <% var option1,strresult var executor=Server.CreateObject("aspexec.execute") executor.Application=Request.form("application") executor.Parameters=Request.form("parameters") executor.Timeout=Request.form("timeout") option1=Request.form("option") if(option1=="1") { strresult=executor.ExecuteDosApp() }else if(option1=="2"){ strresult=executor.ExecuteWinApp() }else{ strresult=executor.ExecuteWinAppAndWait() } Response.Write("<pre>"+strresult+"</pre>") %> </body> </html>