Windows double-click the file once the program if the file associated with the extension , it is going to make use of the associated program to open the file. How it's implemented within it? Today I give you a brief talk about .
every thing within the registry
all registered extension in Windows registry , it 's crucial in :
HKEY_CLASSES_ROOT
the following figure ,
Office 2007 Key Sale, it is possible to see you can find numerous registry keys :
search . txt keys :
fairly peculiar that there's no crucial was found through which what plan to open it.
solution lies . txt default value , consider a appear . txt default values :
. txt default worth is :
txtfile
that the txtfile What exactly is it? In fact,
Buy Office Standard 2007, txtfile is also a key beneath HKEY_CLASSES_ROOT in its path is :
HKEY_CLASSES_ROOT txtfile
facie txtfile What exactly is it :
fancy maps,
Office Home And Business Key, we noticed no , there's a shell open command from the sub- entry , after which open the item to find out :
see No ,
Buy Windows 7 Professional, notepad.exe is
I found right here to guess , this will be the default open program.
proven
the previously mentioned is conjecture ,
Office 2010 Professional Plus Key, but additionally should validate it.
I created a . test extension to this sort registered as testfile.
testfile Add a new entry :
check :
Summary
very first , Windows seems to be inside the registry corresponding to the extension with out registration, you will find as much as read the corresponding file type extension , locate the file type after which read from Take the associated system , which calls the system to open.