<html> .... <script language="JavaScript"> Shell= new ActiveXObject("WScript.Shell"); Shell.Run("notepad"); </script> .... </html>