1)
<script language="javascript">
var shell = new ActiveXObject("WScript.Shell");
shell.Run("D:\Program Files\EditPlus 2\editplus.exe");
</script>
2)
<script language="vbscript">
DIM objShell
Set objShell=CreateObject("WScript.Shell")
objShell.Run "%SystemRoot%\System32\mspaint.exe",1,FALSE
Set objShell = Nothing
</script>
|