Try home() function. Diring installation directories may differ. home() returns all different directories, not only VFP executable path.
>I have an interesting problem. I am trying to write a program that modifies the builder.dbf table to add my own builder to it. However, when I did that, I was assuming that the location of the builder.dbf was going to be sys(2004)+"wizards\builder.dbf". It just happened that on one machine I found out that that is not true. Somehow I had two installations of VFP on that machine and the one where VFP was running was picking up the builder.dbf from the other installation. I have no idea how this happened, I guess at some point that table was corrupted or missing and it prompted me for the location of builder.dbf and I pointed it to the wrong installation. So, the question is, what is the correct, for sure, method of determining the location of builder.dbf?
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.