community.borland.com

Article #25390: Changing the file type recognition of .gdb and .gbk files view by Explorer

Problem:
What is a GDB file? -- an InterBase Database ....
What is a GBK file? -- an InterBase Backup File ....
I want to be able to see (in explorer) that .gdb and 
.gbk are InterBase files


Solution:
You can surface this wonderful technology by editing 
your friendly registry.

MAKE SURE TO EXPORT YOUR REGISTRY BEFORE 
MAKING ANY CHANGES!!!! If your registry becomes 
corrupted you will be able to restore it from your backup.

Make sure that you are working with REGEDT32.exe and 
have the window
HKEY_CLASSES_ROOT in focus.

For (.gdb) files: - You must create 2 new keys.  

01) Highlight the top of the tree
02) Select - Edit | Add Key
03) Enter  ".gdb" for the Key Name, "InterBase Database" 
for Class 
04) Highlight the NEW .gdb key
05) Select - Edit | Add Value
06) Leave the Value Name "blank", Select "REG_SZ" for 
Data Type 
07) Enter "gdbfile" for the String 
08) Repeat Step (05)
09) Enter "Content Type" for Value Name, Select "REG_SZ" 
for Data Type 
10) Enter "Database/InterBase" for the String 
11) Repeat Step (02)
12) Select - Edit | Add Key
13) Enter  "gdbfile" for the Key Name, "InterBase Database" 
for Class 
14) Highlight the NEW gdbfile key
15) Select - Edit | Add Value
16) Leave the Value Name "blank", Select "REG_SZ" for 
Data Type 
17) Enter "InterBase Database File" for the String 

For (.gbk) files: - You must create 2 new keys

01) Highlight the top of the tree
02) Select - Edit | Add Key
03) Enter  ".gbk" for the Key Name, "InterBase Backup" for 
Class 
04) Highlight the NEW .gbk key
05) Select - Edit | Add Value
06) Leave the Value Name "blank", Select "REG_SZ" 
for Data Type 
07) Enter "gbkfile" for the String 
08) Repeat Step (05)
09) Enter "Content Type" for Value Name, Select "REG_SZ" 
for Data Type 
10) Enter "Database/InterBase" for the String 
11) Repeat Step (02)
12) Select - Edit | Add Key
13) Enter  "gbkfile" for the Key Name, "InterBase Backup 
File" for Class 
14) Highlight the NEW gbkfile key
15) Select - Edit | Add Value
16) Leave the Value Name "blank", Select "REG_SZ" 
for Data Type 
17) Enter "InterBase Backup File" for the String 

The last step is to reboot your machine and hope that 
you have not corrupted the registry.  GOOD LUCK !!!!

Last Modified: 18-OCT-00