If the Windows Scripting Host is installed on the client you could try the
following...
<script language="VBScript">
Set WSHShell = CreateObject("WScript.Shell")
If err<>0 then 'Failed because of security or WSH not installed
end if
WshShell.run "notepad" ,1, true
</script>
Never tried it in client side code but it works in ASP at the server end.
You will have to set the browser security level to low for the create object
to work.
Ian Morrish
WSH FAQ http://wsh.glazier.co.nz
Home page http://www.glazier.co.nz
NetMeeting http://ils.glazier.co.nz
Quote:
>I am looking for a way to launch external programs (.EXEs, .BATs) from a
>button or link on a page. I don't see the Shell() function in vbscript.
Is
>it there, or can I use something else, or am I out of luck?
>Thanks.