I am trying to execute a *.bat file from within an ASP page. My vbscript looks like this:
This used to work, but I just upgraded servers and now for some reason I am getting a "Permission denied" error. I have added the Internet Guest account to the file permissions for stopTomcatServices.bat and given it full access. The same is true for the asp file that this code is located in. I am stumped here.... What else could I be missing?
Thanks!
Code:
<%
Dim oShell
Set oShell = Server.CreateObject("WSCript.shell")
oShell.run "c:\inetpub\jakarta\bin\stopTomcatService.bat"
Set oShell = Nothing
%>
This used to work, but I just upgraded servers and now for some reason I am getting a "Permission denied" error. I have added the Internet Guest account to the file permissions for stopTomcatServices.bat and given it full access. The same is true for the asp file that this code is located in. I am stumped here.... What else could I be missing?
Thanks!