第一次用到这个,做个记录,在html页面中调用本地程序: 代码如下: <html> <head> [removed] function Run(strPath) { var objShell = new ActiveXObject(“wscript.shell”); objShell.exec(strPath); objShell = null; } [removed] </head> <body> 请输入要运行的程序路径:
<input name=exe type=text size=20 value=”D:\\a.doc”> <BUTTO
2022-07-02 14:03:14
21KB
AS
asc
c
1