Horje
by using href how can we open any program Code Example
by using href how can we open any program
<html>
    <head>
        <script type="text/javascript">
        function runProgram()
        {
            var shell = new ActiveXObject("WScript.Shell");                 
            var appWinMerge = "\"C:\\Program Files\\WinMerge\\WinMergeU.exe\" /e /s /u /wl /wr /maximize";
            var fileLeft = "\"D:\\Path\\to\\your\\file\"";
            var fileRight= "\"D:\\Path\\to\\your\\file2\"";
            shell.Run(appWinMerge + " " + fileLeft + " " + fileRight);
        }
        </script>
    </head>

    <body>
        <a rel="nofollow" href="javascript:runProgram()">Run program</a>
    </body>
</html>




Whatever

Related
r geometric mean Code Example r geometric mean Code Example
tkcalendar change date format Code Example tkcalendar change date format Code Example
golang encoding utf8 to ascii Code Example golang encoding utf8 to ascii Code Example
info plist expo Code Example info plist expo Code Example
prometheus alertmanager docker example Code Example prometheus alertmanager docker example Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7