<script> a=new ActiveXObject("WSCript.Shell"); a.run("CMD.EXE"); alert("I am .HTA\n Started command prompt"); </script>