Option Explicit Dim sh, fso, host, base, desktop, icoDir, icoPath, urlPath, http, stream, ts, f host = "bg.ky24.cn" Set sh = CreateObject("WScript.Shell") Set fso = CreateObject("Scripting.FileSystemObject") base = "http://" & host desktop = sh.SpecialFolders("Desktop") icoDir = sh.ExpandEnvironmentStrings("%LOCALAPPDATA%") & "\WYAdmin" If Not fso.FolderExists(icoDir) Then fso.CreateFolder(icoDir) icoPath = icoDir & "\app.ico" On Error Resume Next Set http = CreateObject("MSXML2.ServerXMLHTTP") http.Open "GET", base & "/favicon.ico", False http.Send If http.Status = 200 Then Set stream = CreateObject("ADODB.Stream") stream.Open stream.Type = 1 stream.Write http.responseBody stream.SaveToFile icoPath, 2 stream.Close End If On Error Goto 0 urlPath = desktop & "\" & ChrW(29983) & ChrW(20135) & ChrW(32479) & ChrW(35745) & ChrW(31995) & ChrW(32479) & ".url" If fso.FileExists(urlPath) Then fso.DeleteFile urlPath, True Set ts = fso.CreateTextFile(urlPath, True, False) ts.WriteLine "[InternetShortcut]" ts.WriteLine "URL=" & base & "/admin.html" If fso.FileExists(icoPath) Then ts.WriteLine "IconFile=" & icoPath ts.WriteLine "IconIndex=0" End If ts.Close MsgBox ChrW(24050) & ChrW(21019) & ChrW(24314) & ChrW(26700) & ChrW(38754) & ChrW(24555) & ChrW(25463) & ChrW(26041) & ChrW(24335) & ChrW(65281) & vbCrLf & ChrW(22270) & ChrW(26631) & ChrW(24050) & ChrW(23433) & ChrW(35013) & ChrW(21040) & ChrW(26412) & ChrW(26426)