Registry things to memorize

Posted yanfeix

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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

 

以上是关于Registry things to memorize的主要内容,如果未能解决你的问题,请参考以下文章

how to explain things to others

Things to Know Before Installing WordPress

The 4 Most Important Things You Need to Do

Cryptocurrency Exchange Hacks: 9 Things You Need to Know

Cryptocurrency Exchange Hacks: 9 Things You Need to Know

Learning to Segment Every Thing简介