Share this page 

Start an executableTag(s): Varia


IE only
 <script>
 function go() {
   w = new ActiveXObject("WScript.Shell");
   w.run('notepad.exe');
   return true;
   }
   
 </script>
 
 <form>
   Run Notepad (Window with explorer only)
     <input type="button" value="Go" 
     onClick="return go()">
</FORM>    
try it :

Run Notepad (Window with explorer only)
NOTE: Works in a trusted environment like an intranet (and certainly not from the internet!).

Here an interesting trick, this link will attempt to launch a notepad (if you are using Windows) and load the win.ini in your C:\WINDOWS directory.