找回密码
 加入
搜索
查看: 2348|回复: 0

[IE类操作] Windows 7 64位 让IE图标显示在桌面会多出现一个 32位的名称

[复制链接]
发表于 2014-10-29 01:49:24 | 显示全部楼层 |阅读模式
在au3里执行以下代码,桌面的IE图标出现了,可是IE图标的名称会多出现一个 32位的名称,如下:Internet Explorer (32位);如果手动导入IE.reg,注册表就不会多出现一个 32位的名称,图标的名称就是Internet Explorer。

shellExecuteWait("regedit.exe","/s ie.reg",@SystemDir)

ie.reg文件包的内容:
Windows Registry Editor Version 5.00

; Use this tweak to add the IE icon to Desktop

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}]

@="@ieframe.dll,-880"

"InfoTip"="@,-881"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\DefaultIcon]

@="C:\\Windows\\System32\\ieframe.dll,-190"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\InProcServer32]

@="C:\\Windows\\System32\\ieframe.dll"

"ThreadingModel"="Apartment"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\Open\Command]

@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\""

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\InPrivate]

@="@ieframe.dll,-13171"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\InPrivate\Command]

@="\"C:\\Program Files\\Internet Explorer\\iexplore.exe\" -private"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\属性(R)]

@="@ieframe.dll,1031"

"Position"="bottom"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\shell\属性(R)\command]

@="rundll32.exe Shell32.dll,Control_RunDLL InetCpl.cpl,"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\Shellex\ContextMenuHandlers\ieframe]

@="{871C5380-42A0-1069-A2EA-08002B30309D}"

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\Shellex\MayChangeDefaultMenu]

@=""

[HKEY_CLASSES_ROOT\CLSID\{871C5380-42A0-1069-A2EA-08002B30301D}\ShellFolder]

@="@ieframe.dll,-190"

"HideAsDeletePerUser"=""

"HideOnDesktopPerUser"=""

"HideFolderVerbs"=""

"WantsParseDisplayName"=""

"Attributes"=dword:00000024

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{871C5380-42A0-1069-A2EA-08002B30301D}]
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-4-30 02:00 , Processed in 0.072186 second(s), 23 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表