In the app I'm writing, the user begins by selecting a data file from the Standard Get File dialog box that is put up by FB's FILE$ statement. I'd like to remember the folder which contains the selected data file so that the next time the user starts the program and gets the Standard Get File box it is already set to the previously used folder. Does anyone have any code for this? Thanks. Mark PS. I already tried doing this before bring up the SGF box and it didn't work: & _curDirStore,gPrefs.lastWD&