How to run a executable file from a web page?

前端 未结 8 2162
暗喜
暗喜 2021-01-03 14:47

What I mean is, when user click a button on a webpage, a program which has already installed on his computer would be executed. I also need to pass some command line para

8条回答
  •  梦谈多话
    2021-01-03 15:17

    The way to do it is to register a MIME type handler for your application that is installed on the desktop. This is straightforward but different for each platform. Then, when you want to have the program run, you send a document to the user of your given MIME type.

提交回复
热议问题