seanbrown93
MIS
I want to be able to run a batch file on my web server on the click of a button from a user. Can this be done, and what is the code?
I found something like what I have below to open a txt file, but I want it to work with a batch file instead.
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject"
Set f=fs.OpenTextFile("c:\test.txt"
Response.Write(f.ReadAll)
f.Close
Set f=Nothing
Set fs=Nothing
%>
Thanks.
I found something like what I have below to open a txt file, but I want it to work with a batch file instead.
<%
Set fs=Server.CreateObject("Scripting.FileSystemObject"
Set f=fs.OpenTextFile("c:\test.txt"
Response.Write(f.ReadAll)
f.Close
Set f=Nothing
Set fs=Nothing
%>
Thanks.