Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Windows コマンド ライン (cmd) を使用して .lua スクリプトを実行する必要があります。lua.exe と同じフォルダーに .lua ファイルがあります。
ファイルを実行するいくつかの方法を試しましたが、その方法がわかりません。=(
(拡張子が .out の同じスクリプトもあります)
C:\path\to\lua.exe file_name.lua または lua file_name.lua、環境変数を設定した場合。前もって機能しない場合は、 を にドラッグ アンド ドロップするだけfile_name.luaですlua.exe。
C:\path\to\lua.exe file_name.lua
lua file_name.lua
file_name.lua
lua.exe