怎么能在ASP中执行 可执行文件啊?
<%
dim ylj,ywj,path,Shell,rarcomm,RetCode,cmd,comm,fso
path="D:\web\"
ylj=Server.mappath("temp")&"\"
ywj=Server.mappath("212.rar")
Set Shell = Server.CreateObject("WScript.Shell")
rarcomm= "D:\web\cmd.exe /c "&path&"rar.exe x -t -o+ -p- "
cmd=rarcomm&ywj&" "&ylj
RetCode = Shell.Run(cmd,1, True)
%>
像这个,我已经把 rar.exe 和 cmd.exe 放进了d:\web\目录中,但是在浏览器中执行完后,没有反应啊,这是怎么回事呢?
还有在<script language=vbscript>脚本中,怎么来读取其他网页传过来表单的内容呢?比如 12.htm?id=100 怎么来读取这个id号呢?