검색결과 리스트
Information/web에 해당되는 글 1건
- 2016.01.27 HTML&JavaScript/IE에서 로컬 프로그램 실행
글
Information/web
2016. 1. 27. 15:34
HTML&JavaScript/IE에서 로컬 프로그램 실행
<html>
<head>
<title>Test</title>
<script>
function RunFile() {
WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run("프로그램경로(ex-"c:/test.exe")", 1, false);
}
</script>
</head>
<body>
<input type="button" value="Run" onclick="RunFile();"/>
</body>
</html>
</html>