Which library file contains all the registered application in win98/win2000

Hi:

Can anyone tell me which file contains all the registered application signature in win98/win200. I am using java to develop an application to open a file in windows system according to the file's extension. For instance, to open a file abc.doc use winword, to open a file abc.xls use excel etc. I know that there's a library file contains all these info., what's the file name, how can i use it. (ie. use what method call to get the associated application name/path according to the file extension).

Thanks very much in advance.

[579 byte] By [stanley.lam@usa.net] at [2007-9-26 2:01:28]
# 1
You're thinking of the Windows registry. But why are you wasting your time writing that Java program when you can just go to the command prompt and type "start abc.xls"?
DrClap at 2007-6-29 8:41:49 > top of Java-index,Core,Core APIs...
# 2

Hi there:

Thanks for your suggestion. I tried to use your way to test my code. strange things happened, some computers running win2000 can start application using the syntax of Runtime.getRuntime().exec("start abc.doc"), but some of others can't invoke the application. please tell me why, did I miss something on the system setting? many thanks in advance.

stanley.lam@usa.net at 2007-6-29 8:41:49 > top of Java-index,Core,Core APIs...