So, a simple (I hope) question, but one which I can't find the answer to anywhere:
Is there a way to tell the File object to start looking for a file in the directory my exported EXE is in, instead of always providing it with a full file path?
Right now the argument I'm using is:
File.LoadFileToString("C:\Users\John\Documents\pkg2.txt")
The obvious problem being that this will only work for people called John who run the game from their Documents folder . I really need to replace it with something like:
File.LoadFileToString("Current Directory\pkg2.txt")
But I just don't know how . Anyone have a clue how to do this?