>I am trying to give the user the flexibilty of choosing their own directory and since I have no idea what they will choose I can't issue a set path command. The startup directory is currently the directory I developed it in (not always the directory chosen by the user).
Michael,
Provided your dbc and dbf keep their realtie path to each other (generally they're in same dir) you can move them to any location and use from there. In the very first lines of your program before attempting to open a member of dbc have a routine to check existing path settings. If there is set path to there. If doesn't exist get path from user, save it in in registry, ini file, mem file, free table whatever you prefer.
As a side note to Eric's sugestion, be carefull with sys(2004). In a distributed exe file what you get is not where exe reside but vfp runtime dll which is nearly always windir\system. OTOH you could get exe startup dir with fullpath(program(0)).
Cetin