I'm trying to load files in with the "dofile()" command in the console, but it doesn't work even if those files are in the same directory as the .exe file. It just returns this error:
cannot open .\file.lua: No such file or directory
It does work if I the full path of the file, but I don't want to do that every time I load a script. Is there a way to fix this?