Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing Object

Status
Not open for further replies.

Lasius

Programmer
Jul 1, 2002
13
DE
I want to start a wscript out of a ASP. I created an instance of the Wscript.shell object.

<%@ Language=VBScript %>
<%
OPTION EXPLICIT
dim intReturn
dim objWsh
Set objWsh = Server.CreateObject(&quot;WScript.shell&quot;)
intReturn = objWsh.Run &quot;D:\Test.vbs&quot;, 1, True)
Set objWsh = nothing
%>

Now I want to pass the ASP-response object to the &quot;Test.vbs&quot; script. How can I do this ? Or can I run the Test.vbs out of the ASP with any other command?

Thanks

Thomas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top