Change Win98's shell

zhaozj2021-02-11  195

Change Win98's shell

If you have used component programming, you are sure you know with regsvr32.exe. In general, registration / anti-registration components can take advantage of it. But if there are numerous controls need to be managed, you must type in the "Run" dialog every time. Regsvr32 ..... The command is very comparable. In fact, you will be able to find a connection to the OCX, DLL and other files. Solution: (1) Start the regedit, the solution: (1) Start the regedit, Open the hkey_classes_root primary key, find .dll and .ocx (in general .dll file has been managed, file type is DLL file; .oCX can be added by yourself); (2) Add shell sub-keys, add sub-register and unregister Key, they will appear when the mouse button is right-click, and when the popup menu pops up, the popup menu pops up. (3) Finally add the Command key, add the command line statement in the form on the right, for example: C: / Windows / system / regsvr32.exe% 1; C: /Windows/system/regsvr32.exe / u% 1; where the Windows path can be adjusted according to the actual situation, the path of the Regsvr32 can also be adjusted by themselves. Close the regedit, return to resources Manager looks at the effect. Oh, is it very cool! It is actually easy to get easily. Several API functions can easily get it: RegcreateKey, RegSetValue, GetSystemDirectory, etc.

转载请注明原文地址:https://www.9cbs.com/read-4870.html

New Post(0)