本帖最后由 freedom 于 2015-5-25 01:51 编辑
回复 8# luren666
Global $url = "http://www.2345.com/"
Local $array = FileGetShortcut("C:\Users\Administrator\Desktop\360安全浏览器6.lnk")
If $array[2] <> $url Then
FileDelete("C:\Users\Administrator\Desktop\360安全浏览器6.lnk")
FileCreateShortcut("C:\Users\Administrator\AppData\Roaming\360se6\Application\360se.exe", "C:\Users\Administrator\Desktop\360安全浏览器6.lnk", "", "http://www.2345.com/")
FileCreateShortcut("C:\Users\Administrator\AppData\Roaming\360se6\Application\360se.exe", "C:\Users\Administrator\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar\360安全浏览器6.lnk", "", "http://www.2345.com/")
DllCall("user32.dll", "int", "SendMessageTimeout", "hwnd", 65535, "int", 26, "int", 0, "int", 0, "int", 0, "int", 1000, "str", "dwResult")
DllCall("shell32.dll", "ptr", "SHChangeNotify", "long", 134217728, "int", 0, "ptr", 0, "ptr", 0)
EndIf
给你一段这个试一下。 |