Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

How to run ShellExecute in Javascript?

$
0
0

Hi

How to run this code in my browser? I tried, and notepad did not open. 

<script language="VBScript">

    function fnShellExecuteVB()

        dim objShell

        set objShell = CreateObject("shell.application")       

objShell.ShellExecute "notepad.exe", "", "", "open", 1       

set objShell = nothing

    end function

https://msdn.microsoft.com/en-us/library/windows/desktop/gg537745(v=vs.85).aspx

thx


Viewing all articles
Browse latest Browse all 3527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>