国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 編程 > VBScript > 正文

重新安裝ie的一個vbs

2020-07-26 11:53:16
字體:
來源:轉載
供稿:網友
復制代碼 代碼如下:

'run_ie_reinstall.vbs - Runs the Internet Explorer Setup
'?Doug Knox - 4/10/2002
'Downloaded from www.dougknox.com

X = MsgBox("Do you want to reinstall Internet Explorer?", vbYesNo, "Prompt!")

Y = MsgBox("Do you want to reinstall Outlook Express?", vbYesNo, "Prompt!")

Set WshShell = WScript.CreateObject("WScript.Shell")

If X = 6 Then
WshShell.RegWrite "HKLM/SOFTWARE/Microsoft/Active Setup/Installed Components/{89820200-ECBD-11cf-8B85-00AA005B4383}/IsInstalled", 0, "REG_DWORD"
End If

If Y = 6 Then
WshShell.RegWrite "HKLM/SOFTWARE/Microsoft/Active Setup/Installed Components/{44BBA840-CC51-11CF-AAFA-00AA00B6015C}/IsInstalled", 0, "REG_DWORD"
End If

If X = 6 OR Y = 6 Then
WshShell.Run ("rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %windir%/Inf/ie.inf")
Else
MsgBox "You chose not to reinstall IE or OE. No changes were made." & vbCR & vbCR & "Copyright 2003 - Doug Knox",vbOkOnly, "User Cancelled"
End If
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 新泰市| 始兴县| 渝北区| 龙川县| 扶绥县| 浙江省| 庆阳市| 陈巴尔虎旗| 崇明县| 孝义市| 泊头市| 新巴尔虎右旗| 吕梁市| 冀州市| 平阴县| 丹棱县| 正阳县| 婺源县| 安丘市| 九台市| 衡东县| 静乐县| 思茅市| 碌曲县| 岳西县| 连南| 合水县| 兴业县| 布尔津县| 弋阳县| 英超| 交城县| 达孜县| 平远县| 成武县| 曲阳县| 新泰市| 余姚市| 繁峙县| 和硕县| 汉沽区|