how to run server side exe file from classic asp for non IE browser

霸气de小男生 提交于 2019-12-13 05:05:37

问题


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.



来源:https://stackoverflow.com/questions/17570063/how-to-run-server-side-exe-file-from-classic-asp-for-non-ie-browser

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!