I need to execute either a .bat file that calls iisweb.vbs or execute
iisweb.vbs directly from an asp page using IIS6 on 2003 r2
Here is my asp page
<%
Set oWSH= Server.CreateObject("WScript.Shell")
oWSH.Run "d:\SERVER/stopsf.bat", 1, True
set oWSH = nothing
%>
Here is my .bat file
iisweb.vbs /stop WEEBSITE /s 10.x.x.x
Basically I am trying to create an ASP page that will allow a user to
stop and start a website when they need to just by clicking a button.
Thanks!!
I just cannot get it to excecute via webpage.
Security is not a concern for this server. it is internal only