✅ How can I save a single string when my program closes?
In my program I've got a file browser, and I'd like to make it so when you open the file dialogue it starts at the previously selected path. In my testing it's been quite annoying having to go to the same path over and over again.
The only method of saving the path that I can think of is writing it to a text file, but that sounds like a bit of a waste just for a single string. Have I got any other options?
The only method of saving the path that I can think of is writing it to a text file, but that sounds like a bit of a waste just for a single string. Have I got any other options?