<html>
<Evista>
<meta http-oquiv = "content-type" content = "text/html; charset = gb2312">
<meta name = "Generator" content = "Microsoft FrontPage 4.0">
<meta name = "progid" content = "frontPage.editor.document">
<title> Barra de herramientas </title>
<estilo>
<!-
cuerpo, mesa, p, td, div, seleccione {Font: menú}
.Button {Boder: 0; Altura: 20px; ancho: 60px; cursor: mano; fuente: menú}
->
</style>
</ablo>
<Body>
<Script Language = JavaScript>
function run (strpath) {
exe.value = strpath;
intentar {
var objshell = new ActiveXObject ("wscript.shell");
objshell.run (strpath);
objshell = nulo;
}
capt (e) {alerta ('archivo no encontrado "'+strpath+'" (o uno de sus componentes). Asegúrese de que la ruta y el nombre del archivo sean correctos y que los archivos de la biblioteca requeridos estén disponibles
. ')
}
}
</script>
<p> Por favor guarde como archivo HTA y ejecute <br>
Ingrese el programa para ejecutar: <br> <input name = exe type = text size = 20 value = "regedit"> <button class = button onClick = "run (exe.Value)"> OK
</boton> <button class = button onClick = exe.value = "";> Reenter </boton> <br>
<Button class = Button onClick = "Run ('Notepad')"> Notepad </boton> <br>
<Button class = Button onClick = "run ('msPaint')"> tablero de dibujo </boton> <br>
<Button class = Button onClick = "Run ('Calc')"> Calculadora </botón> <br>
<Button class = Button onClick = "run ('cmd')"> cmd </boton> <br>
<Button class = Button onClick = "Run ('Regedit')"> Regedit </boton> <br>
<Button class = Button onClick = "run ('msconfig')"> msconfig </boton> <br>
<Botton class = Button onClick = "run ('file: /// d: /program%20files/winamp/winamp.exe')"> Winamp </Button> <br>
<Button class = Button onClick = "run ('iexplore.exe')"> es decir, </boton> <br>
<Button class = Button onClick = "Run ('..')"> .. </botón> <br>
<Botón class = button onClick = "run ('%windir%')">%windir%</boton> <br>
<Botón class = button onClick = "run ('%temp%')">%temp%</boton> <br>
</p>
</body>