Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.


mkd to txt lisible

mkd to txt lisible

I need to convert some mkd file into txt file, to recuperate data.
I have used those 2 commande but i don't have a lisible txt.

butil -recover TRANSACT.mkd TRANSACT.txt

butil -save TRANSACT.mkd TRANSACT.txt

thinks for help.

RE: mkd to txt lisible

MKD file don't store any field information. Do you have DDF files (FILE.DDF, FIELD.DDF, INDEX.DDF, etc)?
If so, you can create a Database Name and export the data through the Pervasive Control Center.
If you don't have DDFs and you know the record layout, you could create a database and then create a table pointing to the data file.


RE: mkd to txt lisible

Thinks for your answer but l haven't ddfs and i don't know the record layout.
I have tested the creation of new table pointing To the data file,but i haven't all data.
Thinks for help.

RE: mkd to txt lisible

Can you contact the vendor of the application to see if they have DDFs or the record layout?
You might be able to use the Pervasive DDF Builder to build a table definition but you'll need to know at least some of the record layout.


RE: mkd to txt lisible

no i can't contact the vendor and i have only the mkd files.

RE: mkd to txt lisible

Without the DDFs or a record layout, you won't be able to get a useful export.

What I would suggest is this:
1. Inside the application that is generating this data, add a record with easily recognizable data (for example, each field uses a specific letter and fills the field with that letter).
2. Open the table using the Pervasive DDF Builder and view the record. Because of the recognizable data, you should be able to create a fairly accurate record layout.
Once you've created the layout in the DDFs, you should be able to use ODBC to export the data to a useable format.


RE: mkd to txt lisible

i have question the programmer can change the name and the extension of ddf files ?
and if yes, how can i detect them in the poste of client.
and it's possible that the application made with magic tools can connect to database without ddf files ? because i have the application and it works.

RE: mkd to txt lisible

No, the extension and file name of DDF files cannot be changed.
An application can use the Btrieve API to open data files without the DDFs. The application knows the record layout and can interpret the bytes returned by the PSQL engine.
That being said, if the application was created using the Magic programming environment, there is a way to generate DDFs. There should be an option in the Magic environment called DDF Maker from the Tools menu option in Magic.


RE: mkd to txt lisible

you know where can i download a Magic programming environment.

RE: mkd to txt lisible

No, I do not know where you can download the Magic environment. I assumed since you mentioned it that you already had Magic.

If you don't know the record layout, can't get it, and can't try the suggestions I've given, you probably won't be able to get the data out in a readable format.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close