Quote:
Originally Posted by NatCh
Actually, you're correct and incorrect at the same time.
PDB, or Pilot DataBase format is a wrapper, all sorts of different file types can go inside it, including Mobi, eReader, Palm Doc and a passel of others. PRC (I don't know what that one stands for beyond Pilot Something Something), is sorta the same deal, It's usually an executable, but sometimes it's not. Some Mobi Files are PRC, I think, and I remember having some Palm Doc and eReader files that were PRC's too. 
|
NatCh is correct - a PDB file may contain thousands of different data formats. Basically a Palm only supports two types of files:
.PDB - Palm Database - used by applications to store data.
.PRC - Palm Resource - used to store data in resource segments.
A resource database may be used to store executable code, data, or both.
A Palm file may be identified only by examining the contents. Each file contains a Creator ID and a File Type. The Creator ID is a 4 character string registered by a developer with Palm and identifies the application that created the file. The file type is another 4 character string selected by the application developer to allow a single application to support multiple file types.
Quite a while ago I created a Windows Explorer shell program to dynamically display the type of a PDB file by hovering the cursor over it in Windows Explorer. I will attach it to this posting in case anyone here uses Windows and is interested. It would be pretty easy to create something like this that could be run from a command line and support multiple OS's - let me know if anyone is interested.
Regards,
Bob