Unknown Database, DEF, REG, and DAT file

Posted on 2005-02-27
Medium Priority
Last Modified: 2008-03-10
I am trying to extract information from a database belonging to an old Delphi program, it has DEF, REG and DAT files.
REG files in notepad looks like
FC  «}     E
   8 4 :        ÿÿ   T               ÿ  DANISH          T        ÿÿÿÿÿÿÿÿ ÿÿÿ                

It seems as if the REG files are the main database files, the dat files are never more than 1-2 kb at most and the DEF are at most 22 kb
Question by:mSchmidt
  • 2
LVL 18

Accepted Solution

mirtheil earned 2000 total points
ID: 13416838
Those are Btrieve data files. You can download a trial of the current version (Pervasive.SQL V8) from http://www.pervasive.com
If you don't know the exact record layout, you'll probably need a third party tool like BtSearch32 to help figure it out.  If you do know the record strucuture, you can create DDF (data definition files) to access the files with ODBC/etc.
LVL 18

Expert Comment

ID: 13417290
The way to tell is the "FC".  Btrieve/Pervasive files have had that as the first two bytes for over 10 years (it was that way when I first started using Btrieve and still has it that way now).
LVL 44

Expert Comment

ID: 15748183
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Accept - mirtheil

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, we’ll look at how to deploy ProxySQL.
In today's business world, data is more important than ever for informing marketing campaigns. Accessing and using data, however, may not come naturally to some creative marketing professionals. Here are four tips for adapting to wield data for insi…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
The Relationships Diagram is a good way to get an overall view of what a database is keeping track of. It is also where relationships are defined. A relationship specifies how two tables connect to each other. As you build tables in Microsoft Ac…
Suggested Courses

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question