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.

3 comments

0

Pretty sure you can't do that..

0

Also, this is mainly aimed at ROBLOX - so there isn't really anything 99.9% of us can do.

0

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?