<script type="text/javascript"> function My() { var app = new ActiveXObject("Shell.Application") app.ShellExecute("notepad.exe") } </script>