PDA

View Full Version : Running an external program


PeterS
09-16-2002, 04:59 PM
Hi,

I'm trying to create a page on our intranet that will have buttons or links that when the user clicks on them will run an application that is loaded on the PC with a parameter dependent on the button pressed. The command line will be in the form given below.

c:\test\program.exe parameter

Thanks in advance for any help


Peter

joh6nn
09-17-2002, 07:18 AM
<SCRIPT>
var objShell = new ActiveXObject("WScript.Shell");
</script>

<A HREF="javascript:objShell.Run('c:\test\program.exe parameter');">click click</A>