Pages

Saturday, July 31, 2010

Run and open dll file hack

How to Register Dll files in Explorer right click?

Work for Windows ME, 2000, XP and .NET
By Eauthanizor |


This trick is to add a function when we select a dll file in the explorer we can register/unregister it (Regsvr32) from the right click of the mouse.

Run a DLL files from Context Menu


If you try to register dll files,and you have no idea default program to run a dll files,or register a dll files,how about add a command to your context menu ,so you can run dll files from Explorer.



DLL files that export the DllRegisterServer and DllUnregisterServer (as COM dll files do) can easily be controlled from the Explorer while selected. You can register/unregister it as seen in the image above. To enable this feature add subkeys to the registy under HKEY_CLASSES_ROOT\dllfile\shell as in the following:

Registry Editor

Click start on window bar ,then click "run",type regedit press ok


Go to : HKEY_CLASSES_ROOT\dllfile\shell


Create folder name"Regsvr32" and subfolder name "command",set the value to "regSvr32"%1



Create folder name"unregsvr32" and subfolder name "command" set value to:"unegSvr32"/u%1

Regsvr32 is an executable file that gets a Dll file name as an argument and runs its DllRegisterServer function to allow pages on that server to access its functions


Most Recent Posts