Registry things to memorize

1.  URI Schema--- Open a local application from web browser

 

Create a file named app.reg, add the following code

REGEDIT4

[HKEY_CLASSES_ROOT\NameXX]
@="URL:NameXX Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\NameXX\DefaultIcon]
@="\"C:\\Program Files\\Skyline\\IE Invoker\\bin\\BrowserInvoker.exe\""  

[HKEY_CLASSES_ROOT\NameXX\shell]

[HKEY_CLASSES_ROOT\NameXX\shell\open]

[HKEY_CLASSES_ROOT\NameXX\shell\open\command]
@="\"C:\\Program Files\\Skyline\\IE Invoker\\bin\\BrowserInvoker.exe\" \"%1\" "    

 

In an HTML page, add the code below. 

<a href="NameXX:param_string">Open local application</a>

When the link is clicked,  BrowserInvoker.exe is gonna be launched with param_string as the parameter. 

 

 

 

 

2. Modify registry key and value(注册表键值)

   

Reference  How to add, modify, or delete registry subkeys and values by using a .reg file

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Main]
"TabProcGrowth"=dword:0

 

posted @ 2017-12-28 19:39  yanfeix  阅读(160)  评论(0)    收藏  举报