huoqingpo
发表于 2009-6-12 08:36:56
本帖最后由 huoqingpo 于 2009-6-12 08:38 编辑
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Send("{LWINDOWN} d")
send ("{F5}")
filecopy ("D:\i8Client\Internet Explorer.lnk", "C:\Documents and Settings\All Users\桌面\")
send ("{LWIN} ")
send ("{LWIN} ")测试上面的无效··
我自己弄出来了··分享下··
huoqingpo
发表于 2009-6-12 08:37:29
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Send("{LWINDOWN} d")
send ("{F5}")
filecopy ("D:\i8Client\Internet Explorer.lnk", "C:\Documents and Settings\All Users\桌面\")
send ("{LWIN} ")
send ("{LWIN} ")
huoqingpo
发表于 2009-6-12 08:38:34
嘻嘻·····
sensel
发表于 2009-9-1 13:06:07
刚刚看到,补充一下。
; 隐藏桌面“Internet Explorer”图标
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder", "Attributes", "REG_DWORD", 0x100024)
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu", "{871C5380-42A0-1069-A2EA-08002B30309D}", "REG_DWORD", 1)
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", "{871C5380-42A0-1069-A2EA-08002B30309D}", "REG_DWORD", 1)
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "NoInternetIcon", "REG_DWORD", 1)
; 广播设置改变
DllCall("user32.dll", "lparam", "SendMessageTimeout", _
"hwnd", 0xffff, "uint", 0x001a, _
"wparam", 0, "lparam", 0, "uint", 0, "uint", 1000, "str", "dwResult")
; 刷新桌面图标
DllCall("shell32.dll", "none", "SHChangeNotify", _
"long", 0x8000000, "uint", 0, "ptr", 0, "ptr", 0)
hollandmfq
发表于 2014-5-15 09:31:20
雷锋精神传天下!谢谢分享!