Working directory

Explanation
Many people assume that working_directory returns the location of the EXE, however it doesn't necessarily return it. To get the location, use parameter_string(0) or the program_directory variable.

If the game is directly opened, the working directory will be the same as its location, however, if opening another file or executable prompted the running of the game executable (i.e. if making a text editor and double clicking the .txt file thus launching the executable), the location of the initially opened file will be returned.