Created
October 29, 2017 18:29
-
-
Save herrcore/821af62c190385b394047a55b7b878ca to your computer and use it in GitHub Desktop.
JavaScript file to test ShellExecute using ActiveXObject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var oShell = new ActiveXObject("Shell.Application"); | |
var commandtoRun = "calc.exe"; | |
oShell.ShellExecute(commandtoRun,"","","","1"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment