if you mean 调用 by just calling them, and if you can control the ActiveX security settings on the client machines (for example, in a LAN environment), then you can try something like<form name="Form1">
<input type="file" name=filename>
<input type=button value="open" onclick="executeCommands()">
<input type=button value="open notepad" onclick="runJSMode('%WINDIR%\\Notepad.exe')">
</form>
<SCRIPT type="text/javascript" LANGUAGE="JavaScript">
function executeCommands(inputParms)
{
     var oShell = new ActiveXObject("Shell.Application");
     var cmd = "C:\\Winnt\\Notepad.exe";
     var params = null;     if (inputParms == null)
     {
       params = document.Form1.filename.value;
     }     oShell.ShellExecute(cmd, params, "", "open","1");
}
</SCRIPT>
<SCRIPT Language="JavaScript">
function runJSMode(ProgName)
{
   var oShell = new ActiveXObject("WScript.Shell")
   var TestRun  = oShell.run(ProgName,1,0);
}
</SCRIPT>