簡體   English   中英

如何使html打開lua文件或打開exe?

[英]How can I make html open a lua file or open a exe?

我需要知道是否可以使html文件打開lua文件,例如使用計算機設置用來打開這些文件的默認程序打開它。 (或者我可以說“使用此.exe打開此文件”,而我可以讓exe是我設置用來打開lua文件的程序。)這就是我所擁有的,盡管它像文本文件一樣打開。

<html>
    <head>
        <title>
            MaGa
        </title>
    </head>
    <body>
        <a href=".\MaGa.html" target="_self">Go to MaGa</a>
        <a href=".\MaGa.lua" target="_self">Open MaGa</a>
    </body>
</html>

帶有IE的本地網站

start.bat

start lua myfile.lua

start.html

<a href="start.bat">start</a>

刪除Internet Explorer打開或保存彈出窗口:

https://jwcooney.com/2014/03/31/remove-internet-explorer-open-or-save-popup/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM