<html>
<헤드>
<meta http-equiv = "content-type"content = "text/html; charset = gb2312">
<meta name = "Generator"Content = "Microsoft FrontPage 4.0">
<meta name = "progid"content = "FrontPage.editor.document">
<title> 도구 모음 </title>
<스타일>
<!-
Body, Table, P, TD, Div, Select {Font : Menu}
.Button {Boder : 0; 높이 : 20px; 너비 : 60px; 커서 : 손; 글꼴 : 메뉴}
->
</스타일>
</head>
<body>
<스크립트 언어 = javaScript>
함수 실행 (stratp) {
exe.value = strath;
노력하다 {
var objshell = new ActiveXobject ( "wscript.shell");
objshell.run (strath);
objshell = null;
}
catch (e) {alert ( '파일 찾기 "'+stratp+'"(또는 해당 구성 요소 중 하나). 경로와 파일 이름이 올바르고 필요한 라이브러리 파일을 사용할 수 있는지 확인하십시오.
. '))
}
}
</스크립트>
<p> HTA 파일로 저장하고 <br>를 실행하십시오
실행할 프로그램을 입력하십시오 : <br> <입력 이름 = exe 유형 = 텍스트 크기 = 20 value = "regedit"> <버튼 클래스 = 버튼 onclick = "run (exe.value)"> ok
</button> <버튼 클래스 = 버튼 onclick = exe.value = "";> reenter </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( 'notepad')"> notepad </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( 'mspaint')"> 도면 보드 </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( 'calc')"> 계산기 </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( 'cmd')"> cmd </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( 'regedit')"> regedit </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( 'msconfig')"> msconfig </button> <br>
<button class = button onclick = "run ( 'file : // d : //program%20files/winamp/winamp.exe')"> winamp </button> <br>
<button class = button onclick = "run ( 'explore.exe')"> ie </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( '..')" "> .. </button> <br>
<버튼 클래스 = 버튼 onclick = "run ( '%windir%')">%windir%</button> <br>
<버튼 클래스 = 버튼 onclick = "run ( '%temp%')">%temp%</button> <br>
</p>
</body>