1 year ago

#206146

test-img

Konrad

Call windows exe from javascript under windows 11

I want to call a local exe in Windows from my local HTML page (via JavaScript). All the years I used ActiveXObjects like:

myObject = new ActiveXObject( "WScript.Shell" ); function RunCTG(wiNumber) { filename = "\"D:\\Tools\\MyTool.exe\""+" -WINumber="+wiNumber;

myObject.Run(filename);

ActiveXObjects work only in Internet Explorer - thus I have to use IE for this task. Ok. But since Windows 11, there is no IE anymore.

Are there other ways, to call a Windows exe from a local JavaScript?

javascript

internet-explorer

activex

activexobject

windows-11

0 Answers

Your Answer

Accepted video resources