要操作注册表键/值如下:
[HKEY_CURRENT_USER\Software\Microsoft\Search Assistant] 
"Actor"="" 
"SocialUI"=dword:00000000 
"UsageCount"=dword:00000000 
"UseAdvancedSearchAlways"=dword:00000001 
我写的是这样的
RegWrite("HKCU\Software\Microsoft\Search Assistant","Actor","REG_SZ","")
RegWrite("HKCU\Software\Microsoft\Search Assistant","SocialUI","REG_DWORD","0")
RegWrite("HKCU\Software\Microsoft\Search Assistant","UsageCount","REG_DWORD","0")
RegWrite("HKCU\Software\Microsoft\Search Assistant","UseAdvancedSearchAlways","REG_DWORD","1")
因为主键都相同,我这样写是不是太浪费了?
能不能所有子键/值都在一行中,有点类似@LF的意思 |