how to run server side exe file from classic asp f

2019-09-18 16:33发布

问题:

can any body tell me how to run server side exe with parameters from classic asp(vbscript) with non Internet Explorer browser (chrome and firefox)

回答1:

Your browser doesn't have anything to do with that, as this is server-side. On the server , you could try this :

<%
Set WshShell = Server.CreateObject("WScript.Shell") 
WshShell.Run "c:\windows\notepad.exe"
Set WshShell= nothing
%>

It rings a bell to me, but I haven't used classic asp for years so it would need to be cheked.