I added the exe file to the environment variable in windows and the Godot command doesn't seem to work. Only works if I navigate the command line path to the folder of the Godot exe file.
Godot command not recognized
I'm sorry, what are you trying to achieve again?
Calling 'godot' from the command line.
- Edited
zerohootsoliver I added the exe file to the environment variable
Do you mean that you added the path to the directory containing the Godot .exe file?
Which environment variable?
Which Godot version?
You don't add the exe. You would add the full path of the directory the exe is located in to the PATH (and be sure to add to the PATH and not override it).
cybereality I tried both adding the directory that it's in and the file itself. Neither worked.
You also have to restart your computer after changing the PATH (or maybe just logout login, I forget).
Bit late but I had the same problem so make sure your godot executable name is godot.exe instead of default one with godot_version and stuff