Success at last!
---------------
Everyone,
The DBFs and CDXs are all supposed to be in the current directory. And they are on my computer but not on the work computer.
With both settings "set to show hidden files" and "show hidden system files" turned on, I started a complete C drive search for one of the missing indexes. It searched about an hour without finding the index. It still wasn't done, but I stopped it. Of course, the search is also looking inside each file so this could take a very long time.
I had an idea. I tried renaming one of the visible indexes to the name of one of the invisible indexes (using File Explorer) and it worked. Normally, it would have put up a message that the filename already existed. This seems indicate that the invisible cdx is not in the current directory. Makes sense.
I didn't think there was a way to search the entire C drive for a filename without searching inside each file also. However, I did a internet search and found a video which talked about how to do it. The presenter was talking so fast it was hard to write down the syntax, but I finally got it.
Just use the search in File Explorer. To search just for the filename (group.cdx in this case) type:
ext: cdx filename: group
The result came up in less than a minute:
c:\Users\[username]\AppData\Local\VirtualStore\Program Files\WorkLog
WorkLog is the name of the directory where the app resides. I immediately recognized this because of the hint that Stefano gave (thanks Stefano). I have never come across this before.
Still I have to wonder why 2 indexes were created in the current directory, then Windows decided to place the other 3 indexes somewhere else. I have never had this happen before.
I added the SET DEFAULT to the app as per Enrico's suggestion. Thanks Enrico. However it didn't make any difference. Finally, I deleted the 3 indexes in the remote location and reindexed and all five showed up in the current directory! Success at last.
Code: Select all
set default to (cFilePath( GetModuleFileName( GetInstance() ) ))
Thanks to everyone that offered ideas. Very helpful.
Regards,
James