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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Execute SysWOW64\wscript.exe

Status
Not open for further replies.

jasonhuibers

Programmer
Sep 12, 2005
290
CA
Using asp how can I execute this command:

c:\Windows\SysWOW64\wscript.exe "C:\Test.vbs
 
ASP runs on a server so you can't!

Chris.

Indifference will be the downfall of mankind, but who cares?
Time flies like an arrow, however, fruit flies like a banana.
Webmaster Forum
 
Ticket Resolved - ran this code from ASP:

<%
Dim objShell
Dim vbsFile

vbsFile = Server.MapPath("Example.vbs")
Set objShell = Server.CreateObject("Wscript.Shell")

objShell.Run vbsFile

Set objShell = Nothing

%>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top