Ever since FPW 2.6 (to now VFP 6.0), in the main.prg, I always used SET DEFAULT TO, like the following:
USE dirpath
STORE dirpath TO dirpath
SET DEFAULT TO &dirpath
USE
We use O:\ (read-only) for all the executables and P:\ (read/write) for databases\tables (not my idea, but thats the way it is here), so I need to direct the execute file to where the data are... What would be different (or better or safer or whatever) if I did the following:
USE dirpath
STORE dirpath TO dirpath
SET PATH TO &dirpath
USE
Today is tomorrow's yesterday.