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.

[563 byte] By [stanley.lam@usa.net] at [2007-9-26 1:52:08]
# 1

Hi there:

can anyone help with this question, I did try to use the syntax of Runtime.getRuntime().exec("start abc.txt"), but some computers works, others don't. they are all running win2000, did I miss something on the system setting, many thanks in advance.

another question is I want to display the file using different icon according to their type, is there any way to get the icon info. of the registered application from windows registry?

super thanks in advance.

stanley.lam@usa.net at 2007-6-29 3:01:27 > top of Java-index,Java HotSpot Virtual Machine,Specifications...