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

.RUN for program on the web, from the web

Status
Not open for further replies.

kimbly

Programmer
May 29, 2002
16
US
i would like to be able to run a program (.exe) that is on the web from a vbscript in the same directory. if this is possible, how might i do it?

right now i am running the program through vbscript on the computer, using
WshShell.Run "cmd /C D: & CD \users\kim\henry\ & pos_predic",1,True

i appreciate any help, thanks!
kfarrell
 


kimbly,

Try running this on your web site.

-------- MyASP.asp
'
<html>
<body>
Example

<%
Set WshShell = Server.CreateObject(&quot;Wscript.Shell&quot;)
WshShell.Run &quot;cmd /C D: & CD \users\kim\henry\ & pos_predic&quot;,1,True
response.write &quot;Execution complete&quot;
%>
</body>
</html>


fengshui_1998
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top