Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

determining .db file type

by dannoura (Pilgrim)
on Jun 17, 2005 at 14:16 UTC ( #467735=perlquestion: print w/ replies, xml ) Need Help??
dannoura has asked for the wisdom of the Perl Monks concerning the following question:

hi,

I just got a disc with a lot of information about patents. The info is stored in lots of .dbo and .db files. I want to be able to write a script which will parse them, but I've no idea where to start. I'm assuming these files are in some sort of database format but I don't know which one. Is there any way to find out (other than contacting the supplier, which will be very time consuming)?

Comment on determining .db file type
Select or Download Code
Re: determining .db file type
by dorward (Curate) on Jun 17, 2005 at 14:27 UTC
Re: determining .db file type
by jZed (Prior) on Jun 17, 2005 at 14:55 UTC

    The best way to know what type of data is in a file is to find out from the person or persons who created the file. In your case, since you got the file from the U.S. patent office, you should search the FAQs on their site to find out the format of the discs they supply and/or download and use the software that they supply to search the discs.

    The second best way is to use the kind of format-snooping programs recommended by dorward.

    The third best way is to use an online file format resource like this file extensions list. That list shows .dbo as a compiled dBase IV format. The problem with lists that name extensions is that more than one program can create extensions so you can't always trust the answer.

    Unrelated to your question: do you have a good reason for searching the patents database? Do you know that searching it might actually harm your ability to protect a potential patent? If your interest is in protecting some invention, do yourself a favor and talk to a patents attorney.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://467735]
Approved by dorward
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2014-09-19 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (132 votes), past polls