OK, I will contiune to use SET DEFAULT when I am coding and SET PATH for the main.prg. From my understanding when the abc.exe runs, VFP looks in the default directory first (via, regardless if SET DEFAULT TO is issued or not), then where ever the SET PATH TO is next... Thanks!
Chuck
>>USE dirpath
>>STORE dirpath TO dirpath
>>SET PATH TO &dirpath
>>USE
>
>IMHO, SET PATH is the preferrable way. Also there may be a combination of them: SET DEFAULT sets the start directory (for example, if it should be different from the directory where your EXE starts, or if you have multiple data sets) and SET PATH provides access to all necessary files.
Today is tomorrow's yesterday.