You need to change what program Windows associates with that type of extension. It sounds like the file type you are trying to open is associated with notepad.exe. You'll need to change that to the program that can read that type of file.
If it's XP you are using, here's the info from Microsoft.
How to change or select which program starts when you double-click a file in Windows XP