登录后我有first.asp我有代码
<script type="text/javascript" language="javascript">
function runMyCommand() {
var xmlhttp7 = new XMLHttpRequest();
xmlhttp.open("POST", "mporter_launch.asp", true);
xmlhttp.send();
}
</script>
单击按钮运行此操作并在mporter_launch.asp页面上编写
Set wshshell=CreateObject("WScript.Shell")
'wshshell.run "cmd.exe /c java -jar ""C:\Program Files\Pap\WZ\Server\bin\mporter.jar"" ""C:\wz-licence.txt""" 1 false
Set wshshell=Nothing
这运行cmd.exe和java.exe,我希望我的jar mporter.jar运行但看起来&amp;感觉没有弹出像我使用命令提示符运行它。有任何想法如何做到这一点。提前致谢。