How do I get a file's association?

E.G.
blahblah.txt ---> Text file
blahblah.doc ---> Word document
blahblah.exe ---> Executable


-----------------
Niv
[email protected]