>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?
I tried them all and they all refer to the one where VFP is installed, not where the builder table resides.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only