[英]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>
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.