I have looked into opening/starting files in lua, however every single article is giving me functions like dofile() that returns/runs the file status/contents, instead of actually opening/starting the file. In my scenario I have a .hta file that I am trying to start through lua, what I am technically wondering is if lua has a function kind of like the batch command "start", that starts a file, if not is there any method to send commands to a console from a lua file? If anyone could help me out I would really appreciate it.
COMMUNITY QUESTION
How could I start/display a file in lua, like the batch command "start"?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Pretty sure you can't do that..
Also, this is mainly aimed at ROBLOX - so there isn't really anything 99.9% of us can do.
Your question is a bit difficult to understand. I assume by "starting the file" you mean execute it in a new command prompt window? If that is what you want then yes, I believe there is a way to do it, but it might not be available to every OS. I use standard Lua a lot myself, maybe you could contact me through Discord?