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>