0

I've just added Lua to my enviroment variables, but now, every time I need to run a lua command, I have to write lua52 main.lua. My question is, is there a way to change that command so that I can write lua main.lua instead?

Karlos
  • 197
  • 7
  • 1
    Does this answer your question? [Adding lua.exe to my system path](https://stackoverflow.com/questions/50419822/adding-lua-exe-to-my-system-path) – Lance U. Matthews Mar 29 '22 at 06:35

1 Answers1

1

Yes you can rename lua52.exe into lua.exe.

Robert
  • 2,711
  • 7
  • 15