I'm looking for a way to run an exe file on my client PC, e.g. C:/Windows/System32/calc.exe
. I searched online and found many ways to use ActiveX, but ActiveX is not supported by Edge, so I'm looking for a way not to use ActiveX.
Simply
<html><head>/head>
<body>
<a href="file:///C:/Windows/System32/calc.exe">Calculator</a>
</body>
</html>
It doesn't work as well.
I know it's a security issue to start the client exe.
Is there any easy way?
For security reasons, there is no way to launch any EXE.
Alternatively, if the URI is registered in the registry on the target PC, you can start EXE according to your registration.
For example,
HKEY_CLASSES_ROOT\note
URL Protocol="
HKEY_CLASSES_ROOT\note\shell\open\command
(Default) = "C:\Windows\notepad.exe"
and registry registration.
<a href="note:">notepad</a>
Boot to the .
© 2024 OneMinuteCode. All rights reserved.