>Thanks! That worked very well. It was simple to write a short routine to rewrite the table. If the CDX is missing, byte 28 is simply changed to zero(0), unless it has a memo file, which would make it 2. Then, the table can be opened without errors, to rebuild the index.
>
>This makes it possible to get around some people who might like to delete files as an experiment. Next, I'll need to find a work-around for people who choose to delete the EXE. :)
>
>Michael
Well, you could use a loader that looks for the exe and if it doesn't find it, opens a table and copies the exe from a memo field. Then there's always the thought of breaking a few fingers, or other appendages. I find you usually only have to break a few and the word gets out.< G >
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright