Execute a DOS batch file in ASP??
Hi,
I have this ASP code that used to work fine running on an NT4.0 Server platform, and now it's not running at all under Windows 2000 Server.
Here's the ASP code:
(parseinfo.asp)
<% @Language = "VBScript" %>
<%
Call RunBatch()
Function RunBatch()
Dim RunDos
Set RunDos = CreateObject("WScript.Shell")
RunDos.Run "c:\bat\routernt.bat"
End Function
%>
This simple ASP code would execute a DOS batch file when submitted from this HTML FORM:
TEST
I don't know what could be preventing it from executing the batch file, my scripts virtual directory has appropriate rights to execute scripts.
I've downloaded the most recent WSH scripting package from Microsoft.
Does anybody know what could be different in Windows 2000 Server , or IIS configuration that could cause this!?
Any input would be greatly appreciated!
thanks!