Quote: "The only other thing that I think could cause problems is looking in the wrong place, like if you set the directory to something, always put in a SET DIR ".." at the end to get back to your last directory."
100% correct - as usual!
Another way (that I use) is to put:
StartDir$ = Get Dir$()+"\"
at the very start of my program. From then on, if I have to access any files, I use something like:
StartDir$+"Filename.ext"
This is particularly useful if you have subdirectories. For example if your above highscore file was in a folder called 'Data' you would simply use:
Open To Write 1,StartDir$+"\Data\High_scores.txt"
Other files can be accessed in other directories by using exactly the same thing, but simply changing 'Data' to the correct folder name - and of course the filename.
TDK_Man