简体   繁体   English

如何打开从 Btrieve 6.15 创建的 encrypted.dat 文件

[英]How to open encrypted .dat file created from Btrieve 6.15

We are facing issues in opening a.dat file created many years ago.我们在打开多年前创建的 a.dat 文件时遇到问题。 How to open encrypted.dat file created from Btrieve 6.15?如何打开从 Btrieve 6.15 创建的 encrypted.dat 文件?

You need a Btrieve / Pervasive / Actian database engine to open a Btrieve file.你需要一个 Btrieve / Pervasive / Actian 数据库引擎来打开一个 Btrieve 文件。 You can't open it in Notepad / Notepad ++ / any other editor.您无法在记事本/记事本++/任何其他编辑器中打开它。 Btrieve does not store field metadata so the record returned by the Btrieve engine is just a collection of bytes for the developer to interpret. Btrieve 不存储字段元数据,因此 Btrieve 引擎返回的记录只是供开发人员解释的字节集合。
There are several possibilities for reading the file:读取文件有几种可能性:
The best option would be to use the application that created the file to export the data.最好的选择是使用创建文件的应用程序来导出数据。
If that isn't possible and you have a set of DDFs (FILE.DDF, FIELD.DDF, INDEX.DDF) that accurately describe the data (.DAT) file, you can use ODBC to read the data.如果这是不可能的,并且您有一组准确描述数据 (.DAT) 文件的 DDF(FILE.DDF、FIELD.DDF、INDEX.DDF),则可以使用 ODBC 来读取数据。 You will still need the database engine to read the file.您仍然需要数据库引擎来读取文件。
If you don't have DDFs but know the record layout of the table, you can create DDF files and table reference using CREATE TABLE SQL statements or the DDF Builder (available in recent versions of the PSQL / Zen Database engine. You can also create (or have created) a program that uses the Btrieve API to read the data.如果您没有 DDF 但知道表的记录布局,您可以使用 CREATE TABLE SQL 语句或 DDF Builder(在最新版本的 PSQL / Zen 数据库引擎中可用)创建 DDF 文件和表引用。您还可以创建(或已创建)使用 Btrieve API 读取数据的程序。
If you don't have the record structure, you might be able to figure it out using a DDF Builder tool.如果您没有记录结构,您也许可以使用 DDF Builder 工具找出它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM