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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Moving data to the cloud? Find out if you’re ready

Before moving to the cloud, it is important to carefully define your db needs, plan for the migration & understand prod. environment. This wp explains how to define what you need from a cloud provider, plan for the migration & what putting a cloud solution into practice entails.

Question has a verified solution.

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

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This post looks at MongoDB and MySQL, and covers high-level MongoDB strengths, weaknesses, features, and uses from the perspective of an SQL user.
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses

764 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